summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/controls/menu/menu_controller.h2
-rw-r--r--views/controls/textfield/native_textfield_gtk.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/menu/menu_controller.h b/views/controls/menu/menu_controller.h
index 9524497..cc89808 100644
--- a/views/controls/menu/menu_controller.h
+++ b/views/controls/menu/menu_controller.h
@@ -228,7 +228,7 @@ class MenuController : public MessageLoopForUI::Dispatcher {
// Creates a MenuController. If blocking is true, Run blocks the caller
explicit MenuController(bool blocking);
- ~MenuController();
+ virtual ~MenuController();
// If there is a hot tracked view AcceleratorPressed is invoked on it and
// true is returned.
diff --git a/views/controls/textfield/native_textfield_gtk.h b/views/controls/textfield/native_textfield_gtk.h
index 0e7eb58..a129365 100644
--- a/views/controls/textfield/native_textfield_gtk.h
+++ b/views/controls/textfield/native_textfield_gtk.h
@@ -19,7 +19,7 @@ class NativeTextfieldGtk : public NativeControlGtk,
public NativeTextfieldWrapper {
public:
explicit NativeTextfieldGtk(Textfield* parent);
- ~NativeTextfieldGtk();
+ virtual ~NativeTextfieldGtk();
// Returns the textfield this NativeTextfieldGtk wraps.
Textfield* textfield() const { return textfield_; }