aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkBitmapHasher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/SkBitmapHasher.cpp')
-rw-r--r--src/utils/SkBitmapHasher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/SkBitmapHasher.cpp b/src/utils/SkBitmapHasher.cpp
index 6c861cd04b..bd038ddaa0 100644
--- a/src/utils/SkBitmapHasher.cpp
+++ b/src/utils/SkBitmapHasher.cpp
@@ -57,7 +57,7 @@ static inline uint64_t first_8_bytes_as_uint64(const uint8_t *bytearray) {
// 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(&copyBitmap, kPMColor_SkColorType)) {
+ if (!bitmap.copyTo(&copyBitmap, kN32_SkColorType)) {
return false;
}
return ComputeDigestInternal(copyBitmap, result);