aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SkLinearBitmapPipelineBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/SkLinearBitmapPipelineBench.cpp')
-rw-r--r--bench/SkLinearBitmapPipelineBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/SkLinearBitmapPipelineBench.cpp b/bench/SkLinearBitmapPipelineBench.cpp
index 29f28895bf..039179823b 100644
--- a/bench/SkLinearBitmapPipelineBench.cpp
+++ b/bench/SkLinearBitmapPipelineBench.cpp
@@ -93,7 +93,7 @@ struct CommonBitmapFPBenchmark : public Benchmark {
sk_ignore_unused_variable(trash);
fInfo = SkImageInfo::MakeN32Premul(width, height, fIsSRGB ?
- SkColorSpace::MakeSRGB() : nullptr);
+ SkColorSpace::MakeNamed(SkColorSpace::kSRGB_Named) : nullptr);
}
bool isSuitableFor(Backend backend) override {