Index: src/ports/SkFontMgr_win_dw.cpp |
diff --git a/src/ports/SkFontMgr_win_dw.cpp b/src/ports/SkFontMgr_win_dw.cpp |
index eb0989a8295a92349dbad43f8b631827c4973eef..ecca57ff513da78da6dcbcb63eb4785004917e4e 100644 |
--- a/src/ports/SkFontMgr_win_dw.cpp |
+++ b/src/ports/SkFontMgr_win_dw.cpp |
@@ -46,6 +46,7 @@ public: |
private: |
StreamFontFileLoader(SkStream* stream) : fRefCount(1), fStream(SkRef(stream)) { } |
+ virtual ~StreamFontFileLoader() { } |
ULONG fRefCount; |
}; |
@@ -107,6 +108,8 @@ public: |
} |
private: |
StreamFontFileEnumerator(IDWriteFactory* factory, IDWriteFontFileLoader* fontFileLoader); |
+ virtual ~StreamFontFileEnumerator() { } |
+ |
ULONG fRefCount; |
SkTScopedComPtr<IDWriteFactory> fFactory; |
@@ -205,6 +208,7 @@ private: |
: fRefCount(1) |
, fFontFileLoader(SkRefComPtr(fontFileLoader)) |
{ } |
+ virtual ~StreamFontCollectionLoader() { } |
ULONG fRefCount; |
SkTScopedComPtr<IDWriteFontFileLoader> fFontFileLoader; |