Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Unified Diff: src/lazy/SkDiscardablePixelRef.h

Issue 1271033002: private iterator to visit all resource cache entries (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add iter for fontcache Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/lazy/SkDiscardablePixelRef.h
diff --git a/src/lazy/SkDiscardablePixelRef.h b/src/lazy/SkDiscardablePixelRef.h
index 6f422e31db675c85ff4cecfe0b8f9535dec3344b..e8451ee26905de6bd3cfb276b5a1ad4fb0dd4070 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();

Powered by Google App Engine
This is Rietveld 408576698