Index: src/ports/SkFontMgr_win_dw.cpp |
diff --git a/src/ports/SkFontMgr_win_dw.cpp b/src/ports/SkFontMgr_win_dw.cpp |
index bb1e8f572f0920fc51e4542d75160b97f905b17f..e5ddcac8c59c2ed3d68136753ed6567f4133f399 100644 |
--- a/src/ports/SkFontMgr_win_dw.cpp |
+++ b/src/ports/SkFontMgr_win_dw.cpp |
@@ -35,7 +35,7 @@ public: |
IDWriteFontFileStream** fontFileStream); |
// Takes ownership of stream. |
- static HRESULT Create(SkStream* stream, StreamFontFileLoader** streamFontFileLoader) { |
+ static HRESULT Create(SkStreamAsset* stream, StreamFontFileLoader** streamFontFileLoader) { |
*streamFontFileLoader = new StreamFontFileLoader(stream); |
if (NULL == streamFontFileLoader) { |
return E_OUTOFMEMORY; |
@@ -43,10 +43,10 @@ public: |
return S_OK; |
} |
- SkAutoTDelete<SkStream> fStream; |
+ SkAutoTDelete<SkStreamAsset> fStream; |
private: |
- StreamFontFileLoader(SkStream* stream) : fRefCount(1), fStream(stream) { } |
+ StreamFontFileLoader(SkStreamAsset* stream) : fRefCount(1), fStream(stream) { } |
virtual ~StreamFontFileLoader() { } |
ULONG fRefCount; |