Index: bench/ColorCodecBench.cpp |
diff --git a/bench/ColorCodecBench.cpp b/bench/ColorCodecBench.cpp |
index 9dde5da813595fa6aa21ea4fe639dff2b5e53c92..edad759860ccd351cf8b6fead2fea81a5471cae4 100644 |
--- a/bench/ColorCodecBench.cpp |
+++ b/bench/ColorCodecBench.cpp |
@@ -61,7 +61,7 @@ void ColorCodecBench::decodeAndXform() { |
codec->getScanlines(fSrc.get(), 1, 0); |
SkASSERT(1 == rows); |
- xform->xform_RGB1_8888((uint32_t*) dst, (uint32_t*) fSrc.get(), fInfo.width()); |
+ xform->applyTo8888((SkPMColor*) dst, (uint32_t*) fSrc.get(), fInfo.width()); |
dst = SkTAddOffset<void>(dst, fInfo.minRowBytes()); |
} |
} |
@@ -116,7 +116,7 @@ void ColorCodecBench::xformOnly() { |
void* src = fSrc.get(); |
for (int y = 0; y < fInfo.height(); y++) { |
// Transform in place |
- xform->xform_RGB1_8888((uint32_t*) dst, (uint32_t*) src, fInfo.width()); |
+ xform->applyTo8888((SkPMColor*) dst, (uint32_t*) src, fInfo.width()); |
dst = SkTAddOffset<void>(dst, fInfo.minRowBytes()); |
src = SkTAddOffset<void>(src, fInfo.minRowBytes()); |
} |