diff options
Diffstat (limited to 'tools/viewer')
-rw-r--r-- | tools/viewer/ImageSlide.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/viewer/ImageSlide.cpp b/tools/viewer/ImageSlide.cpp index 0eb3b0a6ce..3ba6b58460 100644 --- a/tools/viewer/ImageSlide.cpp +++ b/tools/viewer/ImageSlide.cpp @@ -47,7 +47,7 @@ void ImageSlide::load(SkScalar, SkScalar) { fOriginalBitmap.deepCopyTo(&fXformedBitmap); uint32_t* row = (uint32_t*) fXformedBitmap.getPixels(); for (int y = 0; y < fXformedBitmap.height(); y++) { - xform->xform_RGB1_8888(row, row, fXformedBitmap.width()); + xform->applyTo8888(row, row, fXformedBitmap.width()); row = SkTAddOffset<uint32_t>(row, fXformedBitmap.rowBytes()); } fXformedBitmap.notifyPixelsChanged(); // This is needed for the deepCopy |