Index: src/utils/SkDeferredCanvas.cpp |
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp |
index ce5eb5e6abe349d5a88e06939b9582d1d48cbec9..bc00ab00d384896f35e6834a61bdf26dc2b2ae38 100644 |
--- a/src/utils/SkDeferredCanvas.cpp |
+++ b/src/utils/SkDeferredCanvas.cpp |
@@ -846,7 +846,7 @@ void SkDeferredCanvas::drawOval(const SkRect& rect, const SkPaint& paint) { |
this->recordedDrawCommand(); |
} |
-void SkDeferredCanvas::drawRect(const SkRect& rect, const SkPaint& paint) { |
+void SkDeferredCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { |
if (fDeferredDrawing && this->isFullFrame(&rect, &paint) && |
isPaintOpaque(&paint)) { |
this->getDeferredDevice()->skipPendingCommands(); |
@@ -869,7 +869,7 @@ void SkDeferredCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { |
} |
} |
-void SkDeferredCanvas::drawPath(const SkPath& path, const SkPaint& paint) { |
+void SkDeferredCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { |
AutoImmediateDrawIfNeeded autoDraw(*this, &paint); |
this->drawingCanvas()->drawPath(path, paint); |
this->recordedDrawCommand(); |