diff options
Diffstat (limited to 'src/lazy/SkCachingPixelRef.cpp')
-rw-r--r-- | src/lazy/SkCachingPixelRef.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lazy/SkCachingPixelRef.cpp b/src/lazy/SkCachingPixelRef.cpp index 570fc6fbd7..dc53a5d6c7 100644 --- a/src/lazy/SkCachingPixelRef.cpp +++ b/src/lazy/SkCachingPixelRef.cpp @@ -63,8 +63,7 @@ bool SkCachingPixelRef::onNewLockPixels(LockRec* rec) { return false; } fLockedBitmap.setImmutable(); - SkBitmapCache::Add( - this->getGenerationID(), info.bounds(), fLockedBitmap); + SkBitmapCache::Add(this, info.bounds(), fLockedBitmap); } // Now bitmap should contain a concrete PixelRef of the decoded image. |