Index: src/utils/win/SkDWriteFontFileStream.h |
diff --git a/src/utils/win/SkDWriteFontFileStream.h b/src/utils/win/SkDWriteFontFileStream.h |
index f03518fe549441d62158e8f441063dc66bc69f81..ba16f704a38f36c2e18fb126f83db7bd97423d1b 100644 |
--- a/src/utils/win/SkDWriteFontFileStream.h |
+++ b/src/utils/win/SkDWriteFontFileStream.h |
@@ -65,14 +65,15 @@ public: |
virtual HRESULT STDMETHODCALLTYPE GetFileSize(UINT64* fileSize); |
virtual HRESULT STDMETHODCALLTYPE GetLastWriteTime(UINT64* lastWriteTime); |
- static HRESULT Create(SkStream* stream, SkDWriteFontFileStreamWrapper** streamFontFileStream); |
+ static HRESULT Create(SkStreamAsset* stream, |
+ SkDWriteFontFileStreamWrapper** streamFontFileStream); |
private: |
- explicit SkDWriteFontFileStreamWrapper(SkStream* stream); |
+ explicit SkDWriteFontFileStreamWrapper(SkStreamAsset* stream); |
virtual ~SkDWriteFontFileStreamWrapper() { } |
ULONG fRefCount; |
- SkAutoTDelete<SkStream> fStream; |
+ SkAutoTDelete<SkStreamAsset> fStream; |
SkMutex fStreamMutex; |
}; |
#endif |