aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/SkResizeImageFilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkResizeImageFilter.cpp b/src/effects/SkResizeImageFilter.cpp
index 87c30c6e80..7a52c223b4 100644
--- a/src/effects/SkResizeImageFilter.cpp
+++ b/src/effects/SkResizeImageFilter.cpp
@@ -76,7 +76,7 @@ bool SkResizeImageFilter::onFilterImage(Proxy* proxy,
paint.setXfermodeMode(SkXfermode::kSrc_Mode);
paint.setFilterLevel(fFilterLevel);
- canvas.drawBitmap(src, srcRect.left(), srcRect.top(), &paint);
+ canvas.drawBitmap(src, 0, 0, &paint);
*result = device.get()->accessBitmap(false);
offset->fX = dstBounds.fLeft;