Add virtual destructor for GrDrawTargetCaps
authorbsalomon <bsalomon@google.com>
Mon, 11 May 2015 18:26:23 +0000 (11:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 11 May 2015 18:26:23 +0000 (11:26 -0700)
TBR=jvanverth@google.com

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

src/gpu/GrDrawTargetCaps.h

index 0f7a712..086b615 100644 (file)
@@ -116,6 +116,7 @@ public:
     GrDrawTargetCaps(const GrDrawTargetCaps& other) : INHERITED() {
         *this = other;
     }
+    virtual ~GrDrawTargetCaps() {}
     GrDrawTargetCaps& operator= (const GrDrawTargetCaps&);
 
     virtual void reset();