Index: src/effects/SkMergeImageFilter.cpp |
diff --git a/src/effects/SkMergeImageFilter.cpp b/src/effects/SkMergeImageFilter.cpp |
index d6f0eaa794bcacaa7801d993bb15fe3cece0e98b..e99991898c288a167d97b917da87c673ec687c40 100755 |
--- a/src/effects/SkMergeImageFilter.cpp |
+++ b/src/effects/SkMergeImageFilter.cpp |
@@ -91,7 +91,7 @@ |
} else { |
paint.setXfermode(nullptr); |
} |
- canvas.drawBitmap(input, SkIntToScalar(pos.x() - x0), SkIntToScalar(pos.y() - y0), &paint); |
+ canvas.drawSprite(input, pos.x() - x0, pos.y() - y0, &paint); |
didProduceResult = true; |
} |