Index: src/core/SkScaledImageCache.cpp |
diff --git a/src/core/SkScaledImageCache.cpp b/src/core/SkScaledImageCache.cpp |
index 45c7344007ef845bb58901a43515fe28957d86c2..75dac7859829aca5677e2803a251886f381b1ba2 100644 |
--- a/src/core/SkScaledImageCache.cpp |
+++ b/src/core/SkScaledImageCache.cpp |
@@ -250,7 +250,7 @@ SkScaledImageCache::ID* SkScaledImageCache::addAndLock(const SkBitmap& orig, |
SkASSERT(1 == rec->fLockCount); |
#ifdef USE_HASH |
- fHash->add(key, rec); |
+ fHash->add(rec); |
#endif |
// We may (now) be overbudget, so see if we need to purge something. |
@@ -270,7 +270,7 @@ SkScaledImageCache::ID* SkScaledImageCache::addAndLockMip(const SkBitmap& orig, |
SkASSERT(1 == rec->fLockCount); |
#ifdef USE_HASH |
- fHash->add(key, rec); |
+ fHash->add(rec); |
#endif |
// We may (now) be overbudget, so see if we need to purge something. |