Chromium Code Reviews| Index: include/ports/SkFontConfigInterface.h |
| diff --git a/include/ports/SkFontConfigInterface.h b/include/ports/SkFontConfigInterface.h |
| index 3c68a242e54f0a270fbae89d4b715dec59086b7b..ad25f06415e9708bb466d563c9f7219bfc0d3201 100644 |
| --- a/include/ports/SkFontConfigInterface.h |
| +++ b/include/ports/SkFontConfigInterface.h |
| @@ -102,7 +102,7 @@ public: |
| * Callers are responsible for unref-ing the result. |
| */ |
| virtual SkTypeface* createTypeface(const FontIdentity& identity) { |
|
reed1
2016/05/01 18:53:52
Future plan to upgrade this API?
tomhudson
2016/05/02 12:26:08
D'oh, yes, sloppy of me to miss this.
bungeman-skia
2016/05/02 20:24:54
Done.
|
| - return SkTypeface::CreateFromStream(this->openStream(identity), identity.fTTCIndex); |
| + return SkTypeface::MakeFromStream(this->openStream(identity), identity.fTTCIndex).release(); |
| } |
| /** |