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

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: Fix minor edit error in SkTileGrid::bytesUsed 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 440411d9b0b96f9d035f5840f065f4f3aa038d07..8fe3d552f2cb162252f1b37921e6856a88764864 100644
--- a/src/core/SkRTree.h
+++ b/src/core/SkRTree.h
@@ -54,6 +54,8 @@ public:
// These values were empirically determined to produce reasonable performance in most cases.
static const int kMinChildren = 6,
kMaxChildren = 11;
+ virtual size_t bytesUsed() const SK_OVERRIDE;
mtklein 2014/11/18 19:26:14 Might want to move this above the "only public for
tomhudson 2014/11/18 19:35:12 Since we don't really want this used for productio
mtklein 2014/11/18 19:41:58 Uh, okay, but that's a more confusing answer than
+
private:
struct Node;

Powered by Google App Engine
This is Rietveld 408576698