Index: tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp |
diff --git a/tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp b/tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp |
index 768bfc7d21aea34811db02baf291ba2e39d6f68d..e528b78f4fa850746177e254d4cbf148bccdc240 100644 |
--- a/tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp |
+++ b/tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp |
@@ -21,7 +21,7 @@ bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool comp |
// Ensure the images are comparable |
if (baseline->width() != test->width() || baseline->height() != test->height() || |
baseline->width() <= 0 || baseline->height() <= 0 || |
- baseline->config() != test->config()) { |
+ baseline->colorType() != test->colorType()) { |
return false; |
} |