mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 599397 - Avoid locking when not painting to avoid black flash, r=vlad a=blocking-fennec
This commit is contained in:
parent
0a2087f784
commit
713e3d1c23
@ -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