Chromium Code Reviews| Index: src/core/SkScaledImageCache.h |
| diff --git a/src/core/SkScaledImageCache.h b/src/core/SkScaledImageCache.h |
| index 3f44e26f3d95df517d5ca0d895c6ef9e777b044d..9eea55079bb71cc2720ed7c6de88975207732a59 100644 |
| --- a/src/core/SkScaledImageCache.h |
| +++ b/src/core/SkScaledImageCache.h |
| @@ -75,10 +75,10 @@ public: |
| static ID* FindAndLock(const Key&, SkBitmap* result); |
| static ID* AddAndLock(const Key&, const SkBitmap& result); |
| - |
| + |
| static ID* FindAndLock(const Key&, const SkMipMap** result); |
| static ID* AddAndLock(const Key&, const SkMipMap* result); |
| - |
| + |
| static void Unlock(ID*); |
| static size_t GetTotalBytesUsed(); |
| @@ -128,9 +128,6 @@ public: |
| * To add a new bitmap (or mipMap) to the cache, call |
| * AddAndLock. Use the returned ptr to unlock the cache when you |
| * are done using scaled. |
| - * |
| - * Use (generationID, width, and height) or (original, scaleX, |
|
reed1
2014/08/22 15:45:03
This is a good delete, but we might try to land it
qiankun
2014/08/25 06:22:03
Done.
|
| - * scaleY) or (original) as a search key |
| */ |
| ID* addAndLock(const Key&, const SkBitmap& bitmap); |
| ID* addAndLock(const Key&, const SkMipMap* mipMap); |