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) { |
|
tomhudson
2016/04/29 21:10:36
We can wait until a future patch to make this retu
bungeman-skia
2016/04/29 22:03:23
Acknowledged.
|
| - return SkTypeface::CreateFromStream(this->openStream(identity), identity.fTTCIndex); |
| + return SkTypeface::MakeFromStream(this->openStream(identity), identity.fTTCIndex).release(); |
| } |
| /** |