aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-09-07 18:55:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-07 18:55:49 -0700
commit48ba2b8550d0d243dddf728b602995b01bc137e1 (patch)
treeeb28a3ed3c679c4a8626150e2f6297d1fe0a0bf9 /src/codec
parent2eb00e7b7783ad612f774b6952a7ca0fa23b17af (diff)
Rename SkColorSpace::GammaNamed to SkColorSpace::RenderTargetGamma
Diffstat (limited to 'src/codec')
-rw-r--r--src/codec/SkPngCodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec/SkPngCodec.cpp b/src/codec/SkPngCodec.cpp
index 1b8cadbf5e..a268c1fe2f 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.