Index: src/utils/SkDeferredCanvas.cpp |
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp |
index 4836cd7be4dd8ab483eb34974b091a34391f2e8f..9f444e11f3c17bb58e0b5ca298240e4fe4ff341e 100644 |
--- a/src/utils/SkDeferredCanvas.cpp |
+++ b/src/utils/SkDeferredCanvas.cpp |
@@ -904,32 +904,29 @@ void SkDeferredCanvas::drawSprite(const SkBitmap& bitmap, int left, int top, |
this->recordedDrawCommand(); |
} |
-void SkDeferredCanvas::drawText(const void* text, size_t byteLength, |
- SkScalar x, SkScalar y, const SkPaint& paint) { |
+void SkDeferredCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
+ const SkPaint& paint) { |
AutoImmediateDrawIfNeeded autoDraw(*this, &paint); |
this->drawingCanvas()->drawText(text, byteLength, x, y, paint); |
this->recordedDrawCommand(); |
} |
-void SkDeferredCanvas::drawPosText(const void* text, size_t byteLength, |
- const SkPoint pos[], const SkPaint& paint) { |
+void SkDeferredCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], |
+ const SkPaint& paint) { |
AutoImmediateDrawIfNeeded autoDraw(*this, &paint); |
this->drawingCanvas()->drawPosText(text, byteLength, pos, paint); |
this->recordedDrawCommand(); |
} |
-void SkDeferredCanvas::drawPosTextH(const void* text, size_t byteLength, |
- const SkScalar xpos[], SkScalar constY, |
- const SkPaint& paint) { |
+void SkDeferredCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], |
+ SkScalar constY, const SkPaint& paint) { |
AutoImmediateDrawIfNeeded autoDraw(*this, &paint); |
this->drawingCanvas()->drawPosTextH(text, byteLength, xpos, constY, paint); |
this->recordedDrawCommand(); |
} |
-void SkDeferredCanvas::drawTextOnPath(const void* text, size_t byteLength, |
- const SkPath& path, |
- const SkMatrix* matrix, |
- const SkPaint& paint) { |
+void SkDeferredCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, |
+ const SkMatrix* matrix, const SkPaint& paint) { |
AutoImmediateDrawIfNeeded autoDraw(*this, &paint); |
this->drawingCanvas()->drawTextOnPath(text, byteLength, path, matrix, paint); |
this->recordedDrawCommand(); |