Index: src/core/SkDescriptor.h |
diff --git a/src/core/SkDescriptor.h b/src/core/SkDescriptor.h |
index 71f71336fd6780979dae600864437a9122aacfb3..efa02783be50b6b178272f8b40881e9e12ca29e3 100644 |
--- a/src/core/SkDescriptor.h |
+++ b/src/core/SkDescriptor.h |
@@ -9,7 +9,7 @@ |
#ifndef SkDescriptor_DEFINED |
#define SkDescriptor_DEFINED |
-#include "SkChecksum.h" |
+#include "SkOpts.h" |
#include "SkTypes.h" |
class SkDescriptor : SkNoncopyable { |
@@ -123,7 +123,7 @@ private: |
static uint32_t ComputeChecksum(const SkDescriptor* desc) { |
const uint32_t* ptr = (const uint32_t*)desc + 1; // skip the checksum field |
size_t len = desc->fLength - sizeof(uint32_t); |
- return SkChecksum::Murmur3(ptr, len); |
+ return SkOpts::hash(ptr, len); |
} |
// private so no one can create one except our factories |