Index: src/pdf/SkPDFFont.cpp |
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp |
index 97be32c41da531d3ca807413ea7780bc66612576..58843f7c7d803f609f4103c0e2b93d2f61bc66e1 100644 |
--- a/src/pdf/SkPDFFont.cpp |
+++ b/src/pdf/SkPDFFont.cpp |
@@ -592,7 +592,7 @@ static size_t get_subset_font_stream(const char* fontName, |
const SkTDArray<uint32_t>& subset, |
SkPDFStream** fontStream) { |
int ttcIndex; |
- std::unique_ptr<SkStream> fontData(typeface->openStream(&ttcIndex)); |
+ std::unique_ptr<SkStreamAsset> fontData(typeface->openStream(&ttcIndex)); |
SkASSERT(fontData); |
if (!fontData) { |
return 0; |