Index: src/utils/win/SkDWriteFontFileStream.h |
=================================================================== |
--- src/utils/win/SkDWriteFontFileStream.h (revision 9222) |
+++ src/utils/win/SkDWriteFontFileStream.h (working copy) |
@@ -19,13 +19,20 @@ |
* An SkStream backed by an IDWriteFontFileStream. |
* This allows Skia code to read an IDWriteFontFileStream. |
*/ |
-class SkDWriteFontFileStream : public SkStream { |
+class SkDWriteFontFileStream : public SkStreamMemory { |
public: |
explicit SkDWriteFontFileStream(IDWriteFontFileStream* fontFileStream); |
virtual ~SkDWriteFontFileStream(); |
+ virtual size_t read(void* buffer, size_t size) SK_OVERRIDE; |
+ virtual bool atEnd() const SK_OVERRIDE; |
virtual bool rewind() SK_OVERRIDE; |
- virtual size_t read(void* buffer, size_t size) SK_OVERRIDE; |
+ virtual SkDWriteFontFileStream* duplicate() const SK_OVERRIDE; |
+ virtual size_t getPosition() const SK_OVERRIDE; |
+ virtual bool seek(size_t position) SK_OVERRIDE; |
+ virtual bool move(long offset) SK_OVERRIDE; |
+ virtual SkDWriteFontFileStream* fork() const SK_OVERRIDE; |
+ virtual size_t getLength() const SK_OVERRIDE; |
virtual const void* getMemoryBase() SK_OVERRIDE; |
private: |