Index: src/effects/SkResizeImageFilter.cpp |
diff --git a/src/effects/SkResizeImageFilter.cpp b/src/effects/SkResizeImageFilter.cpp |
index 87c30c6e808fc60c73e2a870f389028e3001032d..7a52c223b4ed0e2fef8dc0cabe5b75dcd5d0fd23 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; |