diff options
author | Mike Reed <reed@google.com> | 2018-07-19 09:39:21 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-19 15:44:55 +0000 |
commit | 30301c48f73f80f99d651a077821d2e7c7469f31 (patch) | |
tree | 54b6791456262168bdaee2f518d1e3a41a6487e6 /src/image/SkImage_Lazy.cpp | |
parent | 7f644ec996eccb7385c63e7cc7b6c7cfbfe85b33 (diff) |
share helper for flagging when added to raster cache
Rename to clarify that it is a "raster" cache we're talking about.
clean up -- motivated by looking to make the purge of a staleID synchronous
Bug: skia:
Change-Id: I87493690dd5a4f2ebd002e2635ebd0e44fe27320
Reviewed-on: https://skia-review.googlesource.com/142325
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/image/SkImage_Lazy.cpp')
-rw-r--r-- | src/image/SkImage_Lazy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/SkImage_Lazy.cpp b/src/image/SkImage_Lazy.cpp index 402acf5d73..3e6aea4ca9 100644 --- a/src/image/SkImage_Lazy.cpp +++ b/src/image/SkImage_Lazy.cpp @@ -360,7 +360,7 @@ bool SkImage_Lazy::lockAsBitmap(SkBitmap* bitmap, SkImage::CachingHint chint, Ca SkASSERT(bitmap->getPixels()); // we're locked SkASSERT(bitmap->isImmutable()); SkASSERT(bitmap->getGenerationID() == uniqueID); - this->notifyAddedToCache(); + this->notifyAddedToRasterCache(); } else { *bitmap = tmpBitmap; bitmap->pixelRef()->setImmutableWithID(uniqueID); |