mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 599397 - Avoid locking when not painting to avoid black flash, r=vlad a=blocking-fennec
This commit is contained in:
parent
cdfba8c17a
commit
430d1c2913
@ -212,6 +212,8 @@ class GeckoSurfaceView
|
||||
GeckoApp.mAppContext.mProgressDialog.dismiss();
|
||||
GeckoApp.mAppContext.mProgressDialog = null;
|
||||
}
|
||||
if (buffer != mSoftwareBuffer)
|
||||
return;
|
||||
Canvas c = getHolder().lockCanvas();
|
||||
if (c == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user