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