diff options
Diffstat (limited to 'gm/image_pict.cpp')
-rw-r--r-- | gm/image_pict.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/image_pict.cpp b/gm/image_pict.cpp index 53f83ac4c2..903024b8ee 100644 --- a/gm/image_pict.cpp +++ b/gm/image_pict.cpp @@ -308,8 +308,7 @@ protected: static void draw_as_bitmap(SkCanvas* canvas, SkImageCacherator* cache, SkScalar x, SkScalar y) { SkBitmap bitmap; - cache->lockAsBitmap(&bitmap, nullptr, - SkDestinationSurfaceColorMode::kGammaAndColorSpaceAware); + cache->lockAsBitmap(&bitmap, nullptr); canvas->drawBitmap(bitmap, x, y); } |