Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 9c60f55aa749cfbade31164b4222c3f7f75ebc6f..39fd93acc66e7e743145b342157b8267a0a9fcde 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -36,6 +36,11 @@ void SkImage::draw(SkCanvas* canvas, SkScalar x, SkScalar y, |
as_IB(this)->onDraw(canvas, x, y, paint); |
} |
+void SkImage::draw(SkCanvas* canvas, const SkRect* src, const SkRect& dst, |
+ const SkPaint* paint) { |
+ as_IB(this)->onDrawRectToRect(canvas, src, dst, paint); |
+} |
+ |
GrTexture* SkImage::getTexture() { |
return as_IB(this)->onGetTexture(); |
} |