aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-05-11 11:26:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-11 11:26:23 -0700
commit0e9ac4a28b8fbfcaea1f83c4bd5fe5a9a1aecac3 (patch)
tree849c2e240dde09eea4495177a0db12722349f8c0 /src/gpu
parent321177052b91ba093d38b3f37f5ae17d6908a4d4 (diff)
Add virtual destructor for GrDrawTargetCaps
TBR=jvanverth@google.com Review URL: https://codereview.chromium.org/1134043004
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/GrDrawTargetCaps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrDrawTargetCaps.h b/src/gpu/GrDrawTargetCaps.h
index 0f7a712dc6..086b61579a 100644
--- a/src/gpu/GrDrawTargetCaps.h
+++ b/src/gpu/GrDrawTargetCaps.h
@@ -116,6 +116,7 @@ public:
GrDrawTargetCaps(const GrDrawTargetCaps& other) : INHERITED() {
*this = other;
}
+ virtual ~GrDrawTargetCaps() {}
GrDrawTargetCaps& operator= (const GrDrawTargetCaps&);
virtual void reset();