diff options
author | justinlin@google.com <justinlin@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-27 17:37:12 +0000 |
---|---|---|
committer | justinlin@google.com <justinlin@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-27 17:37:12 +0000 |
commit | 20a550c6ea947f0ab239da1d4ecba209d76a98fd (patch) | |
tree | edb5a1ffca5aceeae3031544bd5cc0397c6f803b /include/core | |
parent | 7dade42e6f2e35dd27b4090fd7894322d755d4db (diff) |
Add virtual destructor to class with virtual functions.
BUG=
TEST=
Review URL: https://codereview.appspot.com/6453052
git-svn-id: http://skia.googlecode.com/svn/trunk@4810 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkCanvas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 8fa73f6ac1..2b1da3b009 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -901,6 +901,7 @@ public: class ClipVisitor { public: + virtual ~ClipVisitor(); virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0; virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0; }; |