Index: gm/color4f.cpp |
diff --git a/gm/color4f.cpp b/gm/color4f.cpp |
index b3be57bdf9d0525e3b805391bfdbd09c94d22ffd..2f8684293d547f2af164d3d725e398c1662c123d 100644 |
--- a/gm/color4f.cpp |
+++ b/gm/color4f.cpp |
@@ -112,8 +112,8 @@ DEF_SIMPLE_GM(color4shader, canvas, 1024, 260) { |
sk_sp<SkShader> shaders[] { |
SkShader::MakeColorShader(c4, nullptr), |
SkShader::MakeColorShader(c4, SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named)), |
- SkShader::MakeColorShader(c4, SkColorSpace::NewRGB(SkColorSpace::kLinear_GammaNamed, |
- mat)), |
+ SkShader::MakeColorShader(c4, |
+ SkColorSpace::NewRGB(SkColorSpace::kLinear_RenderTargetGamma, mat)), |
}; |
canvas->save(); |