diff options
author | msarett <msarett@google.com> | 2016-09-07 18:55:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-07 18:55:49 -0700 |
commit | 48ba2b8550d0d243dddf728b602995b01bc137e1 (patch) | |
tree | eb28a3ed3c679c4a8626150e2f6297d1fe0a0bf9 /src/codec | |
parent | 2eb00e7b7783ad612f774b6952a7ca0fa23b17af (diff) |
Rename SkColorSpace::GammaNamed to SkColorSpace::RenderTargetGamma
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2319293002
Review-Url: https://codereview.chromium.org/2319293002
Diffstat (limited to 'src/codec')
-rw-r--r-- | src/codec/SkPngCodec.cpp | 2 |
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. |