Index: src/utils/SkDeferredCanvas.cpp |
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp |
index 8a4f8172d8549b91af72e11245842ce10f919c58..6ccfb5e4b3c6711fe402e1726c697de949f512fb 100644 |
--- a/src/utils/SkDeferredCanvas.cpp |
+++ b/src/utils/SkDeferredCanvas.cpp |
@@ -872,7 +872,7 @@ void SkDeferredCanvas::onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* sr |
} |
AutoImmediateDrawIfNeeded autoDraw(*this, &bitmap, paint); |
- this->drawingCanvas()->drawBitmapRect(bitmap, src, dst, paint, (SrcRectConstraint)constraint); |
+ this->drawingCanvas()->legacy_drawBitmapRect(bitmap, src, dst, paint, (SrcRectConstraint)constraint); |
this->recordedDrawCommand(); |
} |
@@ -900,7 +900,7 @@ void SkDeferredCanvas::onDrawImageRect(const SkImage* image, const SkRect* src, |
} |
AutoImmediateDrawIfNeeded autoDraw(*this, image, paint); |
- this->drawingCanvas()->drawImageRect(image, src, dst, paint, constraint); |
+ this->drawingCanvas()->legacy_drawImageRect(image, src, dst, paint, constraint); |
this->recordedDrawCommand(); |
} |