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