| Index: src/utils/SkDumpCanvas.cpp
|
| diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp
|
| index 54ca691dced250fbb360366a0345c1ede55fd743..4a9dcc33326d7d8ce296c3725f5159f397130600 100644
|
| --- a/src/utils/SkDumpCanvas.cpp
|
| +++ b/src/utils/SkDumpCanvas.cpp
|
| @@ -432,11 +432,11 @@ void SkDumpCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkS
|
| }
|
|
|
| void SkDumpCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
|
| - const SkMatrix* matrix, const SkPaint& paint) {
|
| + const SkMatrix* matrix,
|
| + SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM const SkPaint& paint) {
|
| SkString str;
|
| toString(text, byteLength, paint.getTextEncoding(), &str);
|
| - this->dump(kDrawText_Verb, &paint, "drawTextOnPath(%s [%d])",
|
| - str.c_str(), byteLength);
|
| + this->dump(kDrawText_Verb, &paint, "drawTextOnPath(%s [%d])", str.c_str(), byteLength);
|
| }
|
|
|
| void SkDumpCanvas::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
|
|
|