Index: gm/gm_expectations.h |
diff --git a/gm/gm_expectations.h b/gm/gm_expectations.h |
index 8d986f0847f1db39efa96ddf9e122dd2aa6b8552..c69fafc13034de29a5dd602ea9f60f65404da053 100644 |
--- a/gm/gm_expectations.h |
+++ b/gm/gm_expectations.h |
@@ -158,7 +158,7 @@ namespace skiagm { |
* than a single bitmap), returns NULL. |
*/ |
const SkBitmap *asBitmap() const { |
- return (SkBitmap::kNo_Config == fBitmap.config()) ? NULL : &fBitmap; |
+ return (kUnknown_SkColorType == fBitmap.colorType()) ? NULL : &fBitmap; |
} |
#ifdef SK_BUILD_JSON_WRITER |