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

Unified Diff: src/core/SkRTree.h

Issue 490253003: Implement SkPicture::bytesUsed() for SkRecord backend (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Respond to review, add deletion listener tracking Created 6 years, 1 month 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/SkRTree.h
diff --git a/src/core/SkRTree.h b/src/core/SkRTree.h
index 00c6c8941da9e64d366bae18912183204c60b6cf..bf4d2a99bb51aa3622e154b4b0911867c383c7b6 100644
--- a/src/core/SkRTree.h
+++ b/src/core/SkRTree.h
@@ -68,6 +68,8 @@ public:
// Insertion count (not overall node count, which may be greater).
int getCount() const { return fCount; }
+ virtual size_t bytesUsed() const SK_OVERRIDE;
+
private:
bool isEmpty() const { return 0 == this->getCount(); }
« no previous file with comments | « src/core/SkBBoxHierarchy.h ('k') | src/core/SkRTree.cpp » ('j') | src/core/SkRecord.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698