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

Unified Diff: tests/BitmapHasherTest.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
Index: tests/BitmapHasherTest.cpp
===================================================================
--- tests/BitmapHasherTest.cpp (revision 8685)
+++ tests/BitmapHasherTest.cpp (working copy)
@@ -11,7 +11,7 @@
#include "SkBitmapHasher.h"
#include "SkColor.h"
-// Word size that is large enough to hold results of any checksum type.
+// Word size that is large enough to hold results of SkUInt64HashDigest.
typedef uint64_t checksum_result;
namespace skiatest {
@@ -38,7 +38,7 @@
void RunTest() {
// Test SkBitmapHasher
SkBitmap bitmap;
- SkHashDigest digest;
+ SkUInt64HashDigest digest;
// initial test case
CreateTestBitmap(bitmap, SkBitmap::kARGB_8888_Config, 333, 555, SK_ColorBLUE);
REPORTER_ASSERT(fReporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
« src/utils/SkMD5.cpp ('K') | « src/utils/SkSHA1.cpp ('k') | tests/MD5Test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698