Index: src/lazy/SkCachingPixelRef.cpp |
diff --git a/src/lazy/SkCachingPixelRef.cpp b/src/lazy/SkCachingPixelRef.cpp |
index 570fc6fbd78a5d75edc69d56a6bb85a673e4c375..dc53a5d6c78c7cf651f545a32482d23500d78633 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. |