Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index fb7993278a71a787184ed5480365d54cdf51ff25..f7f870210d0844b6347030575ec159d210f15ea9 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -2265,9 +2265,9 @@ |
if (as_IB(image)->asBitmapForImageFilters(&bitmap)) { |
SkPoint pt; |
iter.fMatrix->mapXY(x, y, &pt); |
- iter.fDevice->drawBitmapAsSpriteWithImageFilter(iter, bitmap, |
- SkScalarRoundToInt(pt.fX), |
- SkScalarRoundToInt(pt.fY), pnt); |
+ iter.fDevice->drawBitmapAsSprite(iter, bitmap, |
+ SkScalarRoundToInt(pt.fX), |
+ SkScalarRoundToInt(pt.fY), pnt); |
} |
} else { |
iter.fDevice->drawImage(iter, image, x, y, pnt); |
@@ -2347,9 +2347,9 @@ |
if (drawAsSprite && pnt.getImageFilter()) { |
SkPoint pt; |
iter.fMatrix->mapXY(x, y, &pt); |
- iter.fDevice->drawBitmapAsSpriteWithImageFilter(iter, bitmap, |
- SkScalarRoundToInt(pt.fX), |
- SkScalarRoundToInt(pt.fY), pnt); |
+ iter.fDevice->drawBitmapAsSprite(iter, bitmap, |
+ SkScalarRoundToInt(pt.fX), |
+ SkScalarRoundToInt(pt.fY), pnt); |
} else { |
iter.fDevice->drawBitmap(iter, bitmap, matrix, looper.paint()); |
} |