Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index 8d42b12f5e6ccc370451d509be65f9afe4c76770..e929a8069f36ec65a7b6deb555ea88672d07e559 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -459,8 +459,9 @@ static void create_config(const SkCommandLineConfig* config, SkTArray<Config>* c |
auto srgbColorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); |
CPU_CONFIG(srgb, kRaster_Backend, |
kN32_SkColorType, kPremul_SkAlphaType, srgbColorSpace) |
+ auto srgbLinearColorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGBLinear_Named); |
CPU_CONFIG(f16, kRaster_Backend, |
- kRGBA_F16_SkColorType, kPremul_SkAlphaType, srgbColorSpace->makeLinearGamma()) |
+ kRGBA_F16_SkColorType, kPremul_SkAlphaType, srgbLinearColorSpace) |
} |
#undef CPU_CONFIG |