Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index 41ac2165cbaa5756b48259c52ff7498b59163bfc..f11900dcaa29e7fa748d70f5c641280081bb383d 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -33,9 +33,9 @@ void SkImage::draw(SkCanvas* canvas, SkScalar x, SkScalar y, const SkPaint* pain |
as_IB(this)->onDraw(canvas, x, y, paint); |
} |
-void SkImage::draw(SkCanvas* canvas, const SkRect* src, const SkRect& dst, |
+void SkImage::drawRect(SkCanvas* canvas, const SkRect* src, const SkRect& dst, |
const SkPaint* paint) const { |
- as_IB(this)->onDrawRectToRect(canvas, src, dst, paint); |
+ as_IB(this)->onDrawRect(canvas, src, dst, paint); |
} |
const void* SkImage::peekPixels(SkImageInfo* info, size_t* rowBytes) const { |