| Index: src/gpu/GrResourceCache.h
|
| diff --git a/src/gpu/GrResourceCache.h b/src/gpu/GrResourceCache.h
|
| index b5953032f617b5e036fede5bffd1828b16e9dba6..26423ddc3dc9e60fbfe6c0eb3848b899e0745192 100644
|
| --- a/src/gpu/GrResourceCache.h
|
| +++ b/src/gpu/GrResourceCache.h
|
| @@ -122,9 +122,6 @@ public:
|
|
|
| static const GrResourceKey& GetKey(const GrResourceEntry& e) { return e.key(); }
|
| static uint32_t Hash(const GrResourceKey& key) { return key.getHash(); }
|
| - static bool Equal(const GrResourceEntry& a, const GrResourceKey& b) {
|
| - return a.key() == b;
|
| - }
|
| #ifdef SK_DEBUG
|
| void validate() const;
|
| #else
|
| @@ -321,8 +318,7 @@ private:
|
| GrTMultiMap<GrResourceEntry,
|
| GrResourceKey,
|
| GrResourceEntry::GetKey,
|
| - GrResourceEntry::Hash,
|
| - GrResourceEntry::Equal> fCache;
|
| + GrResourceEntry::Hash> fCache;
|
|
|
| // We're an internal doubly linked list
|
| typedef SkTInternalLList<GrResourceEntry> EntryList;
|
|
|