Index: src/utils/SkWhitelistTypefaces.cpp |
diff --git a/src/utils/SkWhitelistTypefaces.cpp b/src/utils/SkWhitelistTypefaces.cpp |
index ac82f7c6cbd5e03cf80d8be59633816d0ea16458..139e697ca08f4dd0eb540329ab446829dd3cbe64 100644 |
--- a/src/utils/SkWhitelistTypefaces.cpp |
+++ b/src/utils/SkWhitelistTypefaces.cpp |
@@ -5,8 +5,8 @@ |
* found in the LICENSE file. |
*/ |
-#include "SkChecksum.h" |
#include "SkFontDescriptor.h" |
+#include "SkOpts.h" |
#include "SkStream.h" |
#include "SkString.h" |
#include "SkTypeface.h" |
@@ -80,7 +80,7 @@ static uint32_t compute_checksum(const SkTypeface* tf) { |
if (!fontStream->peek(data.begin(), length)) { |
return 0; |
} |
- return SkChecksum::Murmur3(data.begin(), length); |
+ return SkOpts::hash(data.begin(), length); |
} |
static void serialize_sub(const char* fontName, SkFontStyle style, SkWStream* wstream) { |