Index: bench/ColorCodecBench.cpp |
diff --git a/bench/ColorCodecBench.cpp b/bench/ColorCodecBench.cpp |
index 45bd293991785446c90bdc5ee21f971216bb6755..e17d597abb04ae2865343b607f675c73be636854 100644 |
--- a/bench/ColorCodecBench.cpp |
+++ b/bench/ColorCodecBench.cpp |
@@ -47,7 +47,7 @@ void ColorCodecBench::decodeAndXform() { |
codec->startScanlineDecode(fSrcInfo); |
SkASSERT(SkCodec::kSuccess == result); |
- sk_sp<SkColorSpace> srcSpace = sk_ref_sp(codec->getColorSpace()); |
+ sk_sp<SkColorSpace> srcSpace = sk_ref_sp(codec->getInfo().colorSpace()); |
if (!srcSpace) { |
srcSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); |
} |