Index: src/core/SkResourceCache.cpp |
diff --git a/src/core/SkResourceCache.cpp b/src/core/SkResourceCache.cpp |
index e465132288ad09e862f1aafae473ed090db35893..4bdc8dd9e0374d1d4947d95d007d4fde05135cd5 100644 |
--- a/src/core/SkResourceCache.cpp |
+++ b/src/core/SkResourceCache.cpp |
@@ -5,10 +5,10 @@ |
* found in the LICENSE file. |
*/ |
-#include "SkChecksum.h" |
#include "SkMessageBus.h" |
#include "SkMipMap.h" |
#include "SkMutex.h" |
+#include "SkOpts.h" |
#include "SkPixelRef.h" |
#include "SkResourceCache.h" |
#include "SkTraceMemoryDump.h" |
@@ -46,9 +46,9 @@ void SkResourceCache::Key::init(void* nameSpace, uint64_t sharedID, size_t dataS |
fSharedID_lo = (uint32_t)sharedID; |
fSharedID_hi = (uint32_t)(sharedID >> 32); |
fNamespace = nameSpace; |
- // skip unhashed fields when computing the murmur |
- fHash = SkChecksum::Murmur3(this->as32() + kUnhashedLocal32s, |
- (fCount32 - kUnhashedLocal32s) << 2); |
+ // skip unhashed fields when computing the hash |
+ fHash = SkOpts::hash(this->as32() + kUnhashedLocal32s, |
+ (fCount32 - kUnhashedLocal32s) << 2); |
} |
#include "SkTDynamicHash.h" |