Index: gm/gamut.cpp |
diff --git a/gm/gamut.cpp b/gm/gamut.cpp |
index 41ce283ae77ebbf6917020e2208ffe139140e3a6..a1bea3c54f1edd046a81b66f007fd13aa20ff58f 100644 |
--- a/gm/gamut.cpp |
+++ b/gm/gamut.cpp |
@@ -117,7 +117,8 @@ static void draw_gamut_grid(SkCanvas* canvas, SkTArray<SkAutoTDelete<CellRendere |
// Use the original canvas' color type, but account for gamma requirements |
SkImageInfo origInfo = canvas->imageInfo(); |
auto srgbCS = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); |
- auto wideCS = SkColorSpace::NewRGB(SkColorSpace::kSRGB_GammaNamed, wideGamutRGB_toXYZD50); |
+ auto wideCS = SkColorSpace::NewRGB(SkColorSpace::kSRGB_RenderTargetGamma, |
+ wideGamutRGB_toXYZD50); |
switch (origInfo.colorType()) { |
case kRGBA_8888_SkColorType: |
case kBGRA_8888_SkColorType: |