diff options
-rw-r--r-- | include/gpu/GrBackendEffectFactory.h | 1 | ||||
-rw-r--r-- | src/core/SkScan_Antihair.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrBackendEffectFactory.h b/include/gpu/GrBackendEffectFactory.h index 2bfefb93ee..437bcdd6f2 100644 --- a/include/gpu/GrBackendEffectFactory.h +++ b/include/gpu/GrBackendEffectFactory.h @@ -63,6 +63,7 @@ protected: GrBackendEffectFactory() { fEffectClassID = kIllegalEffectClassID; } + virtual ~GrBackendEffectFactory() {} static EffectKey GenID() { GR_DEBUGCODE(static const int32_t kClassIDBits = 8 * sizeof(EffectKey) - diff --git a/src/core/SkScan_Antihair.cpp b/src/core/SkScan_Antihair.cpp index bf1b81f158..3cbd809d9d 100644 --- a/src/core/SkScan_Antihair.cpp +++ b/src/core/SkScan_Antihair.cpp @@ -89,6 +89,7 @@ static void call_hline_blitter(SkBlitter* blitter, int x, int y, int count, class SkAntiHairBlitter { public: SkAntiHairBlitter() : fBlitter(NULL) {} + virtual ~SkAntiHairBlitter() {} SkBlitter* getBlitter() const { return fBlitter; } |