Index: src/gpu/gl/GrGLCaps.h |
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h |
index 1b77ed0e3204099847b26decf6c6a5ddb8753904..e0d2bf6d7c0c6999f2c9ccb526064fdc5bb5b962 100644 |
--- a/src/gpu/gl/GrGLCaps.h |
+++ b/src/gpu/gl/GrGLCaps.h |
@@ -403,13 +403,8 @@ private: |
&& fType == rhs.fType |
&& fFboFormat == rhs.fFboFormat; |
} |
- static uint32_t Hash(const ReadPixelsSupportedFormat& r) { |
- return SkChecksum::Murmur3(reinterpret_cast<const uint32_t*>(&r), sizeof(r)); |
- } |
}; |
- |
- mutable SkTHashMap<ReadPixelsSupportedFormat, bool, ReadPixelsSupportedFormat::Hash> |
- fReadPixelsSupportedCache; |
+ mutable SkTHashMap<ReadPixelsSupportedFormat, bool> fReadPixelsSupportedCache; |
typedef GrDrawTargetCaps INHERITED; |
}; |