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

Unified Diff: bench/ChecksumBench.cpp

Issue 14265010: Make SkSHA1 and SkM5 use common SkDigestHash result type (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 months 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 | « no previous file | gm/gm_expectations.h » ('j') | src/utils/SkMD5.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/ChecksumBench.cpp
===================================================================
--- bench/ChecksumBench.cpp (revision 8685)
+++ bench/ChecksumBench.cpp (working copy)
@@ -63,7 +63,7 @@
for (int i = 0; i < N; i++) {
SkMD5 md5;
md5.update(reinterpret_cast<uint8_t*>(fData), sizeof(fData));
- SkMD5::Digest digest;
+ SkHashDigest digest;
md5.finish(digest);
}
} break;
@@ -71,7 +71,7 @@
for (int i = 0; i < N; i++) {
SkSHA1 sha1;
sha1.update(reinterpret_cast<uint8_t*>(fData), sizeof(fData));
- SkSHA1::Digest digest;
+ SkHashDigest digest;
sha1.finish(digest);
}
} break;
« no previous file with comments | « no previous file | gm/gm_expectations.h » ('j') | src/utils/SkMD5.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698