summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 21:24:48 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-03 21:24:48 +0000
commit5c458e1a5d1bb1b48ad8a60e4e3c541467ba5a20 (patch)
tree55d8100fe10c989cbec6e4aef586470ef703b91c /views
parent4b4e32400bf1c740b4664588a1af24d372954802 (diff)
downloadchromium_src-5c458e1a5d1bb1b48ad8a60e4e3c541467ba5a20.zip
chromium_src-5c458e1a5d1bb1b48ad8a60e4e3c541467ba5a20.tar.gz
chromium_src-5c458e1a5d1bb1b48ad8a60e4e3c541467ba5a20.tar.bz2
Fix Clang errors in profile_menu_model and menu_2.
BUG=none TEST=Clang bots are happy. Review URL: http://codereview.chromium.org/6613028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/menu/menu_2.cc3
-rw-r--r--views/controls/menu/menu_2.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/views/controls/menu/menu_2.cc b/views/controls/menu/menu_2.cc
index f64f275..388b4e9 100644
--- a/views/controls/menu/menu_2.cc
+++ b/views/controls/menu/menu_2.cc
@@ -16,6 +16,9 @@ Menu2::Menu2(ui::MenuModel* model)
Rebuild();
}
+Menu2::~Menu2() {
+}
+
gfx::NativeMenu Menu2::GetNativeMenu() const {
return wrapper_->GetNativeMenu();
}
diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h
index 8916b7c..7204120 100644
--- a/views/controls/menu/menu_2.h
+++ b/views/controls/menu/menu_2.h
@@ -33,7 +33,7 @@ class Menu2 {
// MyClass : menu_(this) {}
// is likely to have problems.
explicit Menu2(ui::MenuModel* model);
- virtual ~Menu2() {}
+ virtual ~Menu2();
// How the menu is aligned relative to the point it is shown at.
// The alignment is reversed by menu if text direction is right to left.