| Index: src/animator/SkPaintPart.h
|
| diff --git a/src/animator/SkPaintPart.h b/src/animator/SkPaintPart.h
|
| index a7e28ed3e27c40aa9eccfac5d15341297bb00c08..5d94f049e86438654d0557dc483bcf7abe4461a2 100644
|
| --- a/src/animator/SkPaintPart.h
|
| +++ b/src/animator/SkPaintPart.h
|
| @@ -62,8 +62,7 @@ class SkDrawTypeface : public SkPaintPart {
|
| #ifdef SK_DUMP_ENABLED
|
| void dump(SkAnimateMaker *) override;
|
| #endif
|
| - SkTypeface* getTypeface() {
|
| - return SkTypeface::CreateFromName(fontName.c_str(), style); }
|
| + sk_sp<SkTypeface> getTypeface() { return SkTypeface::MakeFromName(fontName.c_str(), style); }
|
| protected:
|
| bool add() override;
|
| SkString fontName;
|
|
|