Index: src/ports/SkFontConfigInterface_direct.cpp |
diff --git a/src/ports/SkFontConfigInterface_direct.cpp b/src/ports/SkFontConfigInterface_direct.cpp |
index cdd420c38c675b879683c5cd5227e06fe2b36766..8fe9898bc719e9cf4be76663ad3769d3caf55422 100644 |
--- a/src/ports/SkFontConfigInterface_direct.cpp |
+++ b/src/ports/SkFontConfigInterface_direct.cpp |
@@ -702,7 +702,7 @@ |
} |
SkStreamAsset* SkFontConfigInterfaceDirect::openStream(const FontIdentity& identity) { |
- return SkStream::MakeFromFile(identity.fString.c_str()).release(); |
+ return SkStream::NewFromFile(identity.fString.c_str()); |
} |
/////////////////////////////////////////////////////////////////////////////// |