aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-04 15:29:06 +0000
committerGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-04 15:29:06 +0000
commitade109f57c64f4fbc048cd77abaf4c539e010557 (patch)
tree196678bec9750213b925935af5d6a3bb9519370a
parentfb2cd425c2271c3d42c9667753b33ae71f05ef1b (diff)
Fix Android compiler warnings.
Review URL: https://codereview.appspot.com/7040053 git-svn-id: http://skia.googlecode.com/svn/trunk@7014 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/gpu/GrBackendEffectFactory.h1
-rw-r--r--src/core/SkScan_Antihair.cpp1
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; }