Index: src/utils/SkDeferredCanvas.cpp |
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp |
index 34b9146996edc4e6d0d9da8ba3bef52503042132..94b3694708af1e2ad53c7e903e079b1da9fa93dd 100644 |
--- a/src/utils/SkDeferredCanvas.cpp |
+++ b/src/utils/SkDeferredCanvas.cpp |
@@ -829,17 +829,6 @@ void SkDeferredCanvas::drawBitmapRectToRect(const SkBitmap& bitmap, |
this->recordedDrawCommand(); |
} |
- |
-void SkDeferredCanvas::drawBitmapMatrix(const SkBitmap& bitmap, |
- const SkMatrix& m, |
- const SkPaint* paint) { |
- // TODO: reset recording canvas if paint+bitmap is opaque and clip rect |
- // covers canvas entirely and transformed bitmap covers canvas entirely |
- AutoImmediateDrawIfNeeded autoDraw(*this, &bitmap, paint); |
- this->drawingCanvas()->drawBitmapMatrix(bitmap, m, paint); |
- this->recordedDrawCommand(); |
-} |
- |
void SkDeferredCanvas::drawBitmapNine(const SkBitmap& bitmap, |
const SkIRect& center, const SkRect& dst, |
const SkPaint* paint) { |