diff options
author | reed <reed@google.com> | 2015-08-19 12:25:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-19 12:25:41 -0700 |
commit | 216b643fc77e754a3fabbb0ed397e7cf55d1954d (patch) | |
tree | 32e75226963e5cbeab12a9e4acfd380a7ff7096d /src/lazy | |
parent | fea7763140ba74b78f2c30028452e250140b6f21 (diff) |
private iterator to visit all resource cache entries
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/1271033002
Diffstat (limited to 'src/lazy')
-rw-r--r-- | src/lazy/SkDiscardablePixelRef.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lazy/SkDiscardablePixelRef.h b/src/lazy/SkDiscardablePixelRef.h index 6f422e31db..e8451ee269 100644 --- a/src/lazy/SkDiscardablePixelRef.h +++ b/src/lazy/SkDiscardablePixelRef.h @@ -21,6 +21,9 @@ class SkDiscardablePixelRef : public SkPixelRef { public: + SkDiscardableMemory* diagnostic_only_getDiscardable() const override { + return fDiscardableMemory; + } protected: ~SkDiscardablePixelRef(); |