Fix Android compiler warnings.
authordjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 4 Jan 2013 15:29:06 +0000 (15:29 +0000)
committerdjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 4 Jan 2013 15:29:06 +0000 (15:29 +0000)
Review URL: https://codereview.appspot.com/7040053

git-svn-id: http://skia.googlecode.com/svn/trunk@7014 2bbb7eff-a529-9590-31e7-b0007b416f81

include/gpu/GrBackendEffectFactory.h
src/core/SkScan_Antihair.cpp

index 2bfefb93eee9c9c4d6289eee990e3ad52780bd85..437bcdd6f258e70b19a3b8cc5581fee2fe4b882a 100644 (file)
@@ -63,6 +63,7 @@ protected:
     GrBackendEffectFactory() {
         fEffectClassID = kIllegalEffectClassID;
     }
+    virtual ~GrBackendEffectFactory() {}
 
     static EffectKey GenID() {
         GR_DEBUGCODE(static const int32_t kClassIDBits = 8 * sizeof(EffectKey) -
index bf1b81f1586f710350a299ce6295411044e344bb..3cbd809d9d032e2ddcf275f901eb4c92ce6a9974 100644 (file)
@@ -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; }