Chromium Code Reviews| Index: src/core/SkTileGrid.h |
| diff --git a/src/core/SkTileGrid.h b/src/core/SkTileGrid.h |
| index 99218c77bed2c365e101890c34fc5d4efb6242e6..7e12a9d93e32f5a5835dc293044a362adc2e1266 100644 |
| --- a/src/core/SkTileGrid.h |
| +++ b/src/core/SkTileGrid.h |
| @@ -27,6 +27,8 @@ public: |
| // For testing. |
| int tileCount(int x, int y) { return fTiles[y * fXTiles + x].count(); } |
| + virtual size_t bytesUsed() const SK_OVERRIDE; |
| + |
| private: |
| void reserve(int); |
| void shrinkToFit(); |