summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 13:41:33 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 13:41:33 +0000
commitb9f0a340949223b21ec96a276713d345359a6484 (patch)
tree41e9e94db51637aec368aaa931a1f0e86b719049 /views
parent1e70633dcc7a5a337d0f896b5ad2b81aa91d898b (diff)
downloadchromium_src-b9f0a340949223b21ec96a276713d345359a6484.zip
chromium_src-b9f0a340949223b21ec96a276713d345359a6484.tar.gz
chromium_src-b9f0a340949223b21ec96a276713d345359a6484.tar.bz2
Chromeos: virtual destructors should have virtual keyword (part 2).
Nu functionality change: virtual is only added to destructors that are already implicitly virtual. BUG=83408 TEST=chromiumos clang bot goes green TBR=battre Review URL: http://codereview.chromium.org/7027006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/animation/bounds_animator.h2
-rw-r--r--views/controls/menu/submenu_view.h2
-rw-r--r--views/controls/textfield/native_textfield_views.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/views/animation/bounds_animator.h b/views/animation/bounds_animator.h
index 940f289..6785e43 100644
--- a/views/animation/bounds_animator.h
+++ b/views/animation/bounds_animator.h
@@ -49,7 +49,7 @@ class BoundsAnimator : public ui::AnimationDelegate,
};
explicit BoundsAnimator(View* view);
- ~BoundsAnimator();
+ virtual ~BoundsAnimator();
// Starts animating |view| from its current bounds to |target|. If there is
// already an animation running for the view it's stopped and a new one
diff --git a/views/controls/menu/submenu_view.h b/views/controls/menu/submenu_view.h
index 54dc6c3..0caeffc 100644
--- a/views/controls/menu/submenu_view.h
+++ b/views/controls/menu/submenu_view.h
@@ -39,7 +39,7 @@ class SubmenuView : public View {
// Creates a SubmenuView for the specified menu item.
explicit SubmenuView(MenuItemView* parent);
- ~SubmenuView();
+ virtual ~SubmenuView();
// Returns the number of child views that are MenuItemViews.
// MenuItemViews are identified by ID.
diff --git a/views/controls/textfield/native_textfield_views.h b/views/controls/textfield/native_textfield_views.h
index 8889e26..512657c 100644
--- a/views/controls/textfield/native_textfield_views.h
+++ b/views/controls/textfield/native_textfield_views.h
@@ -47,7 +47,7 @@ class NativeTextfieldViews : public View,
public TextfieldViewsModel::Delegate {
public:
explicit NativeTextfieldViews(Textfield* parent);
- ~NativeTextfieldViews();
+ virtual ~NativeTextfieldViews();
// View overrides:
virtual gfx::NativeCursor GetCursor(const MouseEvent& event) OVERRIDE;