| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index 8912851d8f369c88a9b36aeb7d281c8b2490c690..c757721b9ba7892530ad4c2631d2fa6ae56626d9 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -1778,11 +1778,13 @@ void SkGpuDevice::drawPosText(const SkDraw& draw, const void* text, size_t byteL
|
|
|
| void SkGpuDevice::drawTextOnPath(const SkDraw& draw, const void* text,
|
| size_t len, const SkPath& path,
|
| - const SkMatrix* m, const SkPaint& paint) {
|
| + const SkMatrix* m,
|
| + SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM const SkPaint& paint) {
|
| CHECK_SHOULD_DRAW(draw);
|
|
|
| + SK_SUPPORT_LEGACY_DRAWTEXTONPATH_DEFAULT_METHOD
|
| SkASSERT(draw.fDevice == this);
|
| - draw.drawTextOnPath((const char*)text, len, path, m, paint);
|
| + draw.drawTextOnPath((const char*)text, len, path, m, method, paint);
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|