Index: bench/CodecBench.cpp |
diff --git a/bench/CodecBench.cpp b/bench/CodecBench.cpp |
index fc52edfb07bcda61fe6b40921e00c71a110608c6..9bd404db55e05658aaf41579abeee036489f5cf3 100644 |
--- a/bench/CodecBench.cpp |
+++ b/bench/CodecBench.cpp |
@@ -42,7 +42,9 @@ bool CodecBench::isSuitableFor(Backend backend) { |
void CodecBench::onDelayedSetup() { |
SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(fData)); |
- fInfo = codec->getInfo().makeColorType(fColorType).makeAlphaType(fAlphaType); |
+ fInfo = codec->getInfo().makeColorType(fColorType) |
+ .makeAlphaType(fAlphaType) |
+ .makeColorSpace(nullptr); |
fPixelStorage.reset(fInfo.getSafeSize(fInfo.minRowBytes())); |
} |