diff options
Diffstat (limited to 'bench/ColorCodecBench.cpp')
-rw-r--r-- | bench/ColorCodecBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/ColorCodecBench.cpp b/bench/ColorCodecBench.cpp index 867b8a1418..06afdc6565 100644 --- a/bench/ColorCodecBench.cpp +++ b/bench/ColorCodecBench.cpp @@ -67,7 +67,7 @@ void ColorCodecBench::onDelayedSetup() { fDstSpace = nullptr; if (FLAGS_srgb) { - fDstSpace = SkColorSpace::MakeSRGB(); + fDstSpace = SkColorSpace::MakeNamed(SkColorSpace::kSRGB_Named); } else if (FLAGS_nonstd) { SkColorSpaceTransferFn gamma; gamma.fA = 1.0f; |