diff options
Diffstat (limited to 'gm/gm_expectations.h')
-rw-r--r-- | gm/gm_expectations.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/gm_expectations.h b/gm/gm_expectations.h index 8d986f0847..c69fafc130 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 |