mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1166165 - Check if the timestamp is null to prevent assertion. r=nical
This commit is contained in:
parent
eb57cf13bf
commit
083a328551
@ -417,7 +417,7 @@ LayerManagerComposite::RenderDebugOverlay(const Rect& aBounds)
|
|||||||
// Draw a translation delay warning overlay
|
// Draw a translation delay warning overlay
|
||||||
int width;
|
int width;
|
||||||
int border;
|
int border;
|
||||||
if ((now - mWarnTime).ToMilliseconds() < kVisualWarningDuration) {
|
if (!mWarnTime.IsNull() && (now - mWarnTime).ToMilliseconds() < kVisualWarningDuration) {
|
||||||
EffectChain effects;
|
EffectChain effects;
|
||||||
|
|
||||||
// Black blorder
|
// Black blorder
|
||||||
|
Loading…
Reference in New Issue
Block a user