Add needed virtual destructors.
These were found by the clang on Windows build. R=mtklein@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/328303005
This commit is contained in:
parent
0f9bad01b0
commit
d7f846bdd1
@ -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;
|
||||
|
@ -290,6 +290,8 @@ public:
|
||||
fIdentity.fDataId = SkFontIdentity::kInvalidDataId;
|
||||
}
|
||||
|
||||
virtual ~FontFallbackRenderer() { }
|
||||
|
||||
// IDWriteTextRenderer methods
|
||||
virtual HRESULT STDMETHODCALLTYPE DrawGlyphRun(
|
||||
void* clientDrawingContext,
|
||||
|
@ -68,6 +68,7 @@ public:
|
||||
|
||||
private:
|
||||
explicit SkDWriteFontFileStreamWrapper(SkStream* stream);
|
||||
virtual ~SkDWriteFontFileStreamWrapper() { }
|
||||
|
||||
ULONG fRefCount;
|
||||
SkAutoTUnref<SkStream> fStream;
|
||||
|
Loading…
Reference in New Issue
Block a user