Chromium Code Reviews| 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(); } |