зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1137058
- Increment RasterImage::mLockCount to ensure that non-discardable images don't eventually become unlocked. r=tn
This commit is contained in:
Родитель
dfd05ab4ad
Коммит
5e56897acb
|
@ -326,6 +326,7 @@ RasterImage::Init(const char* aMimeType,
|
|||
|
||||
// Lock this image's surfaces in the SurfaceCache if we're not discardable.
|
||||
if (!mDiscardable) {
|
||||
mLockCount++;
|
||||
SurfaceCache::LockImage(ImageKey(this));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче