| Index: include/core/SkCanvas.h
|
| diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
|
| index 26e3c8e3c52bf98590650f7be13f19012b866be4..b2fc5d326dd3f9b284281524121842bd749e94fe 100644
|
| --- a/include/core/SkCanvas.h
|
| +++ b/include/core/SkCanvas.h
|
| @@ -1071,6 +1071,9 @@ public:
|
| @param paint The paint used for the text (e.g. color, size, style)
|
| */
|
| void drawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, const SkPaint& paint);
|
| + void drawTextBlob(const sk_sp<SkTextBlob>& blob, SkScalar x, SkScalar y, const SkPaint& paint) {
|
| + this->drawTextBlob(blob.get(), x, y, paint);
|
| + }
|
|
|
| /** Draw the picture into this canvas. This method effective brackets the
|
| playback of the picture's draw calls with save/restore, so the state
|
|
|