Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: src/core/SkPictureFlat.h

Issue 1445523003: Revert of Switch uses of SkChecksum::Compute to Murmur3. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/private/SkChecksum.h ('k') | src/gpu/GrProgramDesc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPictureFlat.h
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h
index 8befca0538daf1f0f6f236cdab13cdcadf6b6a80..98a43ecb579454d22dc8042d97c0771a6c85509c 100644
--- a/src/core/SkPictureFlat.h
+++ b/src/core/SkPictureFlat.h
@@ -179,7 +179,7 @@
class SkFlatController : public SkRefCnt {
public:
-
+
SkFlatController(uint32_t writeBufferFlags = 0);
virtual ~SkFlatController();
@@ -357,7 +357,7 @@
fIndex = index;
fFlatSize = size;
fTopBot[0] = SK_ScalarNaN; // Mark as unwritten.
- fChecksum = SkChecksum::Murmur3(this->data(), size);
+ fChecksum = SkChecksum::Compute((uint32_t*)this->data(), size);
}
int fIndex;
« no previous file with comments | « include/private/SkChecksum.h ('k') | src/gpu/GrProgramDesc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698