Index: src/core/SkPictureFlat.h |
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h |
index bd8f66cb7e4ab73c6ca0d05b7421a63ac8ed2f4e..f63b9c10a72495c1fe22758ae035c9e990cc621d 100644 |
--- a/src/core/SkPictureFlat.h |
+++ b/src/core/SkPictureFlat.h |
@@ -338,7 +338,6 @@ private: |
// For SkTDynamicHash. |
static const SkFlatData& Identity(const SkFlatData& flat) { return flat; } |
static uint32_t Hash(const SkFlatData& flat) { return flat.checksum(); } |
- static bool Equal(const SkFlatData& a, const SkFlatData& b) { return a == b; } |
void setIndex(int index) { fIndex = index; } |
uint8_t* data() { return (uint8_t*)this + sizeof(*this); } |
@@ -564,8 +563,7 @@ private: |
SkTDArray<const SkFlatData*> fIndexedData; |
// For SkFlatData -> cached SkFlatData, which has index(). |
- SkTDynamicHash<SkFlatData, SkFlatData, |
- SkFlatData::Identity, SkFlatData::Hash, SkFlatData::Equal> fHash; |
+ SkTDynamicHash<SkFlatData, SkFlatData, SkFlatData::Identity, SkFlatData::Hash> fHash; |
}; |
typedef SkFlatDictionary<SkPaint, SkPaint::FlatteningTraits> SkPaintDictionary; |