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
3d664b4f14
commit
8ea56f7f69
@ -417,7 +417,7 @@ LayerManagerComposite::RenderDebugOverlay(const Rect& aBounds)
|
||||
// Draw a translation delay warning overlay
|
||||
int width;
|
||||
int border;
|
||||
if ((now - mWarnTime).ToMilliseconds() < kVisualWarningDuration) {
|
||||
if (!mWarnTime.IsNull() && (now - mWarnTime).ToMilliseconds() < kVisualWarningDuration) {
|
||||
EffectChain effects;
|
||||
|
||||
// Black blorder
|
||||
|
Loading…
Reference in New Issue
Block a user