Clean up useless comments in SkScaledImageCache.h

BUG=skia:
R=reed@google.com

Author: qiankun.miao@intel.com

Review URL: https://codereview.chromium.org/499203002
This commit is contained in:
qiankun.miao 2014-08-25 06:08:25 -07:00 committed by Commit bot
parent 66ff5f85c6
commit 045bb7f00b
2 changed files with 3 additions and 6 deletions

View File

@ -32,7 +32,7 @@ public:
{
this->init(sizeof(fGenID) + sizeof(fScaleX) + sizeof(fScaleY) + sizeof(fBounds));
}
uint32_t fGenID;
SkScalar fScaleX;
SkScalar fScaleY;

View File

@ -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,
* scaleY) or (original) as a search key
*/
ID* addAndLock(const Key&, const SkBitmap& bitmap);
ID* addAndLock(const Key&, const SkMipMap* mipMap);