Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index afd7fbef88bd82c97f7b9b6ced77e259209417cc..d43d5a46d3fb62a5c7185dfe71803743b8b4cb2d 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1894,7 +1894,7 @@ void SkCanvas::drawImage(const SkImage* image, SkScalar left, SkScalar top, |
void SkCanvas::drawImageRect(const SkImage* image, const SkRect* src, |
const SkRect& dst, |
const SkPaint* paint) { |
- image->draw(this, src, dst, paint); |
+ image->drawRect(this, src, dst, paint); |
} |
void SkCanvas::drawBitmap(const SkBitmap& bitmap, SkScalar x, SkScalar y, |