Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index cf1b493dd6e3ff8fa76aaf7be0fc60cd41e471ec..de49d1e33973f6f3e3dbd3f33e291fe4213ae931 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -20,7 +20,7 @@ public: |
virtual ~SkImage_Gpu(); |
virtual void onDraw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) const SK_OVERRIDE; |
- virtual void onDrawRectToRect(SkCanvas*, const SkRect* src, const SkRect& dst, |
+ virtual void onDrawRect(SkCanvas*, const SkRect* src, const SkRect& dst, |
const SkPaint*) const SK_OVERRIDE; |
virtual GrTexture* onGetTexture() const SK_OVERRIDE; |
virtual bool getROPixels(SkBitmap*) const SK_OVERRIDE; |
@@ -61,7 +61,7 @@ void SkImage_Gpu::onDraw(SkCanvas* canvas, SkScalar x, SkScalar y, const SkPaint |
canvas->drawBitmap(fBitmap, x, y, paint); |
} |
-void SkImage_Gpu::onDrawRectToRect(SkCanvas* canvas, const SkRect* src, const SkRect& dst, |
+void SkImage_Gpu::onDrawRect(SkCanvas* canvas, const SkRect* src, const SkRect& dst, |
const SkPaint* paint) const { |
canvas->drawBitmapRectToRect(fBitmap, src, dst, paint); |
} |