| Index: src/core/SkRecorder.cpp
|
| diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp
|
| index aafb540a052f9f428c4c70cf71c39e75d4e01397..90b21065e5e572ced0e164e86db711fed193b5df 100644
|
| --- a/src/core/SkRecorder.cpp
|
| +++ b/src/core/SkRecorder.cpp
|
| @@ -227,12 +227,15 @@ void SkRecorder::onDrawPosTextH(const void* text, size_t byteLength,
|
| }
|
|
|
| void SkRecorder::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) {
|
| + SK_SUPPORT_LEGACY_DRAWTEXTONPATH_DEFAULT_METHOD
|
| APPEND(DrawTextOnPath,
|
| delay_copy(paint),
|
| this->copy((const char*)text, byteLength),
|
| byteLength,
|
| delay_copy(path),
|
| + method,
|
| matrix ? *matrix : SkMatrix::I());
|
| }
|
|
|
|
|