Index: src/fonts/SkFontMgr_indirect.cpp |
diff --git a/src/fonts/SkFontMgr_indirect.cpp b/src/fonts/SkFontMgr_indirect.cpp |
index 6f94dfd367a1dadcadd32a155601c79071c261e2..5615a78c211eb33cddf8a8abd537bd38640cfbf4 100644 |
--- a/src/fonts/SkFontMgr_indirect.cpp |
+++ b/src/fonts/SkFontMgr_indirect.cpp |
@@ -213,7 +213,7 @@ SkTypeface* SkFontMgr_Indirect::createTypefaceFromFontId(const SkFontIdentity& i |
// No exact match, but did find a data match. |
if (dataTypeface.get() != NULL) { |
- SkAutoTDelete<SkStream> stream(dataTypeface->openStream(NULL)); |
+ SkAutoTDelete<SkStreamAsset> stream(dataTypeface->openStream(NULL)); |
if (stream.get() != NULL) { |
return fImpl->createFromStream(stream.detach(), dataTypefaceIndex); |
} |
@@ -262,7 +262,7 @@ SkTypeface* SkFontMgr_Indirect::onMatchFaceStyle(const SkTypeface* familyMember, |
return this->matchFamilyStyle(familyName.c_str(), fontStyle); |
} |
-SkTypeface* SkFontMgr_Indirect::onCreateFromStream(SkStream* stream, int ttcIndex) const { |
+SkTypeface* SkFontMgr_Indirect::onCreateFromStream(SkStreamAsset* stream, int ttcIndex) const { |
return fImpl->createFromStream(stream, ttcIndex); |
} |