Index: src/gpu/GrProgramDesc.h |
diff --git a/src/gpu/GrProgramDesc.h b/src/gpu/GrProgramDesc.h |
index 96411953540df82a8f8d009cd495fa7c987eb1f5..05b52cc7cd7dfaa948854487e90101ea382fd58d 100644 |
--- a/src/gpu/GrProgramDesc.h |
+++ b/src/gpu/GrProgramDesc.h |
@@ -107,7 +107,8 @@ |
*(this->atOffset<uint32_t, GrProgramDesc::kLengthOffset>()) = SkToU32(keyLength); |
uint32_t* checksum = this->atOffset<uint32_t, GrProgramDesc::kChecksumOffset>(); |
- *checksum = SkChecksum::Murmur3(fKey.begin(), keyLength); |
+ *checksum = 0; |
+ *checksum = SkChecksum::Compute(reinterpret_cast<uint32_t*>(fKey.begin()), keyLength); |
} |
// The key, stored in fKey, is composed of four parts: |