Index: src/core/SkBitmapDevice.cpp |
diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp |
index 1f17e6fac12d30212f62819c75cd6fa47b6986ea..e765588168de3c421b3fcdf56d8d000c85a591e2 100644 |
--- a/src/core/SkBitmapDevice.cpp |
+++ b/src/core/SkBitmapDevice.cpp |
@@ -331,9 +331,10 @@ void SkBitmapDevice::drawPosText(const SkDraw& draw, const void* text, size_t le |
void SkBitmapDevice::drawTextOnPath(const SkDraw& draw, const void* text, |
size_t len, const SkPath& path, |
- const SkMatrix* matrix, |
+ const SkMatrix* matrix, SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM |
const SkPaint& paint) { |
- draw.drawTextOnPath((const char*)text, len, path, matrix, paint); |
+ SK_SUPPORT_LEGACY_DRAWTEXTONPATH_DEFAULT_METHOD |
+ draw.drawTextOnPath((const char*)text, len, path, matrix, method, paint); |
} |
void SkBitmapDevice::drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode, |