Index: bench/ColorCodecBench.cpp |
diff --git a/bench/ColorCodecBench.cpp b/bench/ColorCodecBench.cpp |
index faa2a9a11886aab131c609d1460407d973043e1f..84d4f9232db8eef16d52eb29267023d03096a30f 100644 |
--- a/bench/ColorCodecBench.cpp |
+++ b/bench/ColorCodecBench.cpp |
@@ -94,7 +94,8 @@ void ColorCodecBench::xformOnly() { |
if (!srcSpace) { |
srcSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); |
} |
- std::unique_ptr<SkColorSpaceXform> xform = SkColorSpaceXform::New(srcSpace, fDstSpace); |
+ std::unique_ptr<SkColorSpaceXform> xform = SkColorSpaceXform::New(srcSpace.get(), |
+ fDstSpace.get()); |
SkASSERT(xform); |
void* dst = fDst.get(); |