Chromium Code Reviews| Index: src/core/SkScaledImageCache.h |
| diff --git a/src/core/SkScaledImageCache.h b/src/core/SkScaledImageCache.h |
| index 311db325be887ccddfa36b6790c0639387271786..b20be071197f51043db11eeb3b64fad8e43d4ad2 100644 |
| --- a/src/core/SkScaledImageCache.h |
| +++ b/src/core/SkScaledImageCache.h |
| @@ -66,6 +66,8 @@ public: |
| static SkBitmap::Allocator* GetAllocator(); |
| + static void Dump(); |
| + |
| /////////////////////////////////////////////////////////////////////////// |
| /** |
| @@ -151,6 +153,8 @@ public: |
| SkBitmap::Allocator* allocator() const { return fAllocator; }; |
| + void dump() const; |
|
scroggo
2013/12/12 20:34:55
Can you add some comments? I see "dump" and I'm no
reed1
2013/12/12 21:13:49
Not sure. SkPath has a dump() that works in releas
|
| + |
| public: |
| struct Rec; |
| struct Key; |
| @@ -174,6 +178,7 @@ private: |
| Rec* findAndLock(const Key& key); |
| ID* addAndLock(Rec* rec); |
| + void purgeRec(Rec*); |
| void purgeAsNeeded(); |
| // linklist management |