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

Unified Diff: src/core/SkBBoxHierarchy.h

Issue 490253003: Implement SkPicture::bytesUsed() for SkRecord backend (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Move to SkPictureUtils, start unit test Created 6 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/core/SkBBoxHierarchy.h
diff --git a/src/core/SkBBoxHierarchy.h b/src/core/SkBBoxHierarchy.h
index b42f708bc72db3bdc25d3745e4ca69ddcbf7d0cb..62b1da83bf0cc02327620f3686728efa000f3b73 100644
--- a/src/core/SkBBoxHierarchy.h
+++ b/src/core/SkBBoxHierarchy.h
@@ -88,6 +88,8 @@ public:
void setClient(SkBBoxHierarchyClient* client) { fClient = client; }
+ virtual size_t bytesUsed() const = 0;
+
protected:
SkBBoxHierarchyClient* fClient;
« no previous file with comments | « include/utils/SkPictureUtils.h ('k') | src/core/SkQuadTree.h » ('j') | src/core/SkQuadTree.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698