From 36703d9d368050a20764b5336534bd718fd00a6e Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Tue, 12 Dec 2017 14:09:31 -0500 Subject: 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 Commit-Queue: Brian Osman --- gm/encode-srgb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gm/encode-srgb.cpp') diff --git a/gm/encode-srgb.cpp b/gm/encode-srgb.cpp index 527ece97ae..72f8c84c07 100644 --- a/gm/encode-srgb.cpp +++ b/gm/encode-srgb.cpp @@ -31,7 +31,7 @@ sk_sp fix_for_colortype(sk_sp colorSpace, SkColorTyp return SkColorSpace::MakeSRGBLinear(); } - return as_CSB(colorSpace)->makeLinearGamma(); + return colorSpace->makeLinearGamma(); } return colorSpace; -- cgit v1.2.3