Add extra warnings to match what Android uses.

R=mtklein@google.com

Committed: https://code.google.com/p/skia/source/detail?r=12310

Review URL: https://codereview.chromium.org/74193005

git-svn-id: http://skia.googlecode.com/svn/trunk/src@12314 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/animator/SkScriptCallBack.h b/animator/SkScriptCallBack.h
index dcbaf11..fefc482 100644
--- a/animator/SkScriptCallBack.h
+++ b/animator/SkScriptCallBack.h
@@ -13,6 +13,8 @@
 
 class SkScriptCallBack {
 public:
+    virtual ~SkScriptCallBack() { }
+
     enum Type {
         kBox,
         kFunction,
diff --git a/core/SkBuffer.h b/core/SkBuffer.h
index 369d9c0..9791cf5 100644
--- a/core/SkBuffer.h
+++ b/core/SkBuffer.h
@@ -39,6 +39,8 @@
         fStop = (const char*)data + size;
     }
 
+    virtual ~SkRBuffer() { }
+
     /** Return the number of bytes that have been read from the beginning
         of the data pointer.
     */
diff --git a/gpu/gl/GrGLProgramEffects.h b/gpu/gl/GrGLProgramEffects.h
index 4572a42..3320891 100644
--- a/gpu/gl/GrGLProgramEffects.h
+++ b/gpu/gl/GrGLProgramEffects.h
@@ -129,6 +129,8 @@
  */
 class GrGLProgramEffectsBuilder {
 public:
+    virtual ~GrGLProgramEffectsBuilder() { }
+
     /**
      * Emits the effect's shader code, and stores the necessary uniforms internally.
      */
@@ -211,6 +213,7 @@
 class GrGLVertexProgramEffectsBuilder : public GrGLProgramEffectsBuilder {
 public:
     GrGLVertexProgramEffectsBuilder(GrGLFullShaderBuilder*, int reserveCount);
+    virtual ~GrGLVertexProgramEffectsBuilder() { }
 
     virtual void emitEffect(const GrEffectStage&,
                             GrGLProgramEffects::EffectKey,
@@ -298,6 +301,7 @@
 class GrGLTexGenProgramEffectsBuilder : public GrGLProgramEffectsBuilder {
 public:
     GrGLTexGenProgramEffectsBuilder(GrGLFragmentOnlyShaderBuilder*, int reserveCount);
+    virtual ~GrGLTexGenProgramEffectsBuilder() { }
 
     virtual void emitEffect(const GrEffectStage&,
                             GrGLProgramEffects::EffectKey,