Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index 9a43fd0e32b0ad531150f218b6919b75484548e0..6be9178f2386d785e5467f0b46d0aa86c343cf8a 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -162,26 +162,6 @@ |
// A draw filter may change the paint arbitrarily, so we must re-seed in this case. |
runPaint = paint; |
} |
- } |
-} |
- |
-#include "SkImage_Base.h" |
- |
-void SkBaseDevice::drawImage(const SkDraw& draw, const SkImage* image, SkScalar x, SkScalar y, |
- const SkPaint& paint) { |
- // Default impl : turns everything into raster bitmap |
- SkBitmap bm; |
- if (as_IB(image)->getROPixels(&bm)) { |
- this->drawBitmap(draw, bm, SkMatrix::MakeTrans(x, y), paint); |
- } |
-} |
- |
-void SkBaseDevice::drawImageRect(const SkDraw& draw, const SkImage* image, const SkRect* src, |
- const SkRect& dst, const SkPaint& paint) { |
- // Default impl : turns everything into raster bitmap |
- SkBitmap bm; |
- if (as_IB(image)->getROPixels(&bm)) { |
- this->drawBitmapRect(draw, bm, src, dst, paint, SkCanvas::DrawBitmapRectFlags(0)); |
} |
} |