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

Unified Diff: tests/PictureTest.cpp

Issue 490253003: Implement SkPicture::bytesUsed() for SkRecord backend (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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: tests/PictureTest.cpp
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index 6a93a9dd1bd1ab0415b74119aad0f3b1f3c16cdc..f27d9582ecfd78e0aa78d694769cd7b750921c36 100644
--- a/tests/PictureTest.cpp
+++ b/tests/PictureTest.cpp
@@ -1807,6 +1807,7 @@ struct CountingBBH : public SkBBoxHierarchy {
virtual int getCount() const { return 0; }
virtual int getDepth() const { return 0; }
virtual void rewindInserts() {}
+ virtual size_t bytesUsed() const { return 0; }
};
class SpoonFedBBHFactory : public SkBBHFactory {

Powered by Google App Engine
This is Rietveld 408576698