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