aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkImage_Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/image/SkImage_Base.h')
-rw-r--r--src/image/SkImage_Base.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
index 6a048ba51f..df6accbc72 100644
--- a/src/image/SkImage_Base.h
+++ b/src/image/SkImage_Base.h
@@ -86,8 +86,8 @@ public:
// Call when this image is part of the key to a resourcecache entry. This allows the cache
// to know automatically those entries can be purged when this SkImage deleted.
- void notifyAddedToCache() const {
- fAddedToCache.store(true);
+ void notifyAddedToRasterCache() const {
+ fAddedToRasterCache.store(true);
}
virtual bool onIsValid(GrContext*) const = 0;
@@ -101,7 +101,7 @@ protected:
private:
// Set true by caches when they cache content that's derived from the current pixels.
- mutable SkAtomic<bool> fAddedToCache;
+ mutable SkAtomic<bool> fAddedToRasterCache;
typedef SkImage INHERITED;
};