Index: bench/ColorCodecBench.cpp |
diff --git a/bench/ColorCodecBench.cpp b/bench/ColorCodecBench.cpp |
index faa2a9a11886aab131c609d1460407d973043e1f..e35aef87c93bd7c1638de88c59a70a8e829823ee 100644 |
--- a/bench/ColorCodecBench.cpp |
+++ b/bench/ColorCodecBench.cpp |
@@ -8,7 +8,6 @@ |
#include "ColorCodecBench.h" |
#include "Resources.h" |
#include "SkCodec.h" |
-#include "SkCodecPriv.h" |
#include "SkColorSpaceXform.h" |
#include "SkCommandLineFlags.h" |
@@ -100,8 +99,8 @@ |
void* dst = fDst.get(); |
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()); |
+ xform->apply(dst, (uint32_t*) src, fSrcInfo.width(), fDstInfo.colorType(), |
+ fDstInfo.alphaType()); |
dst = SkTAddOffset<void>(dst, fDstInfo.minRowBytes()); |
src = SkTAddOffset<void>(src, fSrcInfo.minRowBytes()); |
} |