Index: src/utils/SkBitmapHasher.cpp |
diff --git a/src/utils/SkBitmapHasher.cpp b/src/utils/SkBitmapHasher.cpp |
index bd038ddaa05d20f2717dff7867d1ccfb692d73f8..6c861cd04bc261c52e35c1d1769703c295b8e611 100644 |
--- a/src/utils/SkBitmapHasher.cpp |
+++ b/src/utils/SkBitmapHasher.cpp |
@@ -57,7 +57,7 @@ |
// Hmm, that didn't work. Maybe if we create a new |
// kARGB_8888_Config version of the bitmap it will work better? |
SkBitmap copyBitmap; |
- if (!bitmap.copyTo(©Bitmap, kN32_SkColorType)) { |
+ if (!bitmap.copyTo(©Bitmap, kPMColor_SkColorType)) { |
return false; |
} |
return ComputeDigestInternal(copyBitmap, result); |