Index: bench/ColorCodecBench.cpp |
diff --git a/bench/ColorCodecBench.cpp b/bench/ColorCodecBench.cpp |
index 84d4f9232db8eef16d52eb29267023d03096a30f..b2bb658ffbec49c535a4b2e86a39788d6641057f 100644 |
--- a/bench/ColorCodecBench.cpp |
+++ b/bench/ColorCodecBench.cpp |
@@ -102,7 +102,8 @@ void ColorCodecBench::xformOnly() { |
void* src = fSrc.get(); |
for (int y = 0; y < fSrcInfo.height(); y++) { |
xform->apply(dst, (uint32_t*) src, fSrcInfo.width(), |
- select_xform_format(fDstInfo.colorType()), fDstInfo.alphaType()); |
+ select_xform_format(fDstInfo.colorType()), |
+ SkColorSpaceXform::kRGBA_8888_ColorFormat, fDstInfo.alphaType()); |
dst = SkTAddOffset<void>(dst, fDstInfo.minRowBytes()); |
src = SkTAddOffset<void>(src, fSrcInfo.minRowBytes()); |
} |