diff options
author | Brian Osman <brianosman@google.com> | 2017-12-12 14:09:31 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-12 19:34:29 +0000 |
commit | 36703d9d368050a20764b5336534bd718fd00a6e (patch) | |
tree | c452daef0a4d61f6550741cf79d2ee4c755750c2 /gm/makecolorspace.cpp | |
parent | 09757b29feeb1e7a4bc73dcf07c960e06f20cd66 (diff) |
Push much of the SkColorSpace_Base interface up to SkColorSpace
Some pieces still remain, but the next step looks less mechanical,
so I wanted to land this piece independently.
Bug: skia:
Change-Id: Ie63afcfa08af2f6e4996911fa2225c43441dbfb2
Reviewed-on: https://skia-review.googlesource.com/84120
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'gm/makecolorspace.cpp')
-rw-r--r-- | gm/makecolorspace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/makecolorspace.cpp b/gm/makecolorspace.cpp index 1435c04120..5291e3b74f 100644 --- a/gm/makecolorspace.cpp +++ b/gm/makecolorspace.cpp @@ -57,7 +57,7 @@ protected: sk_sp<SkColorSpace> wideGamut = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, SkColorSpace::kAdobeRGB_Gamut); - sk_sp<SkColorSpace> wideGamutLinear = as_CSB(wideGamut)->makeLinearGamma(); + sk_sp<SkColorSpace> wideGamutLinear = wideGamut->makeLinearGamma(); // Lazy images sk_sp<SkImage> opaqueImage = GetResourceAsImage("images/mandrill_128.png"); |