Index: src/core/SkScaledImageCache.cpp |
diff --git a/src/core/SkScaledImageCache.cpp b/src/core/SkScaledImageCache.cpp |
index c436417f281b7463737c27bb31be758c8423ff7c..8320b921816c6fe526455abf26776a9888283cf5 100644 |
--- a/src/core/SkScaledImageCache.cpp |
+++ b/src/core/SkScaledImageCache.cpp |
@@ -144,16 +144,13 @@ uint32_t hash_from_key(const SkScaledImageCache::Key& key) { |
return key.fHash; |
} |
-bool eq_rec_key(const SkScaledImageCache::Rec& rec, const SkScaledImageCache::Key& key) { |
- return rec.fKey == key; |
-} |
-} |
+} // namespace |
class SkScaledImageCache::Hash : public SkTDynamicHash<SkScaledImageCache::Rec, |
SkScaledImageCache::Key, |
key_from_rec, |
- hash_from_key, |
- eq_rec_key> {}; |
+ hash_from_key> {}; |
+ |
/////////////////////////////////////////////////////////////////////////////// |