| Index: src/utils/SkLuaCanvas.cpp
|
| diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp
|
| index 68094f2ca0e2344f49e43f4c66204b33436bbe29..6f4c65891c37822600f3ab441f62d927781ca597 100644
|
| --- a/src/utils/SkLuaCanvas.cpp
|
| +++ b/src/utils/SkLuaCanvas.cpp
|
| @@ -274,7 +274,8 @@ void SkLuaCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkSc
|
| }
|
|
|
| void SkLuaCanvas::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) {
|
| AUTO_LUA("drawTextOnPath");
|
| lua.pushPath(path, "path");
|
| lua.pushEncodedText(paint.getTextEncoding(), text, byteLength);
|
|
|