Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index c038844693d6dd2df793d3075322d0395f547c7f..c3f24b95e1f801566973888b460b3056ba88baa1 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -902,11 +902,7 @@ |
SkASSERT(NULL != temp->fPaint); |
canvas.save(); |
canvas.setMatrix(initialMatrix); |
- SkRect src = SkRect::Make(temp->fSrcRect); |
- SkRect dst = SkRect::MakeXYWH(temp->fPos.fX, temp->fPos.fY, |
- temp->fSrcRect.width(), |
- temp->fSrcRect.height()); |
- canvas.drawBitmapRectToRect(*temp->fBM, &src, dst, temp->fPaint); |
+ canvas.drawBitmap(*temp->fBM, temp->fPos.fX, temp->fPos.fY, temp->fPaint); |
canvas.restore(); |
if (it.isValid()) { |