Index: src/codec/SkPngCodec.cpp |
diff --git a/src/codec/SkPngCodec.cpp b/src/codec/SkPngCodec.cpp |
index 1b8cadbf5ee00835b9b7783e5d10250739693d8f..a268c1fe2f2ed1929bdd3b15e8e45d38190b0ec0 100644 |
--- a/src/codec/SkPngCodec.cpp |
+++ b/src/codec/SkPngCodec.cpp |
@@ -329,7 +329,7 @@ sk_sp<SkColorSpace> read_color_space(png_structp png_ptr, png_infop info_ptr) { |
// Default to sRGB gamma if the image has color space information, |
// but does not specify gamma. |
- return SkColorSpace::NewRGB(SkColorSpace::kSRGB_GammaNamed, toXYZD50); |
+ return SkColorSpace::NewRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50); |
} |
// Last, check for gamma. |