diff options
-rw-r--r-- | chrome/browser/profiles/profile_menu_model.cc | 3 | ||||
-rw-r--r-- | chrome/browser/profiles/profile_menu_model.h | 1 | ||||
-rw-r--r-- | views/controls/menu/menu_2.cc | 3 | ||||
-rw-r--r-- | views/controls/menu/menu_2.h | 2 |
4 files changed, 1 insertions, 8 deletions
diff --git a/chrome/browser/profiles/profile_menu_model.cc b/chrome/browser/profiles/profile_menu_model.cc index 5baacc1..852e8da 100644 --- a/chrome/browser/profiles/profile_menu_model.cc +++ b/chrome/browser/profiles/profile_menu_model.cc @@ -17,9 +17,6 @@ ProfileMenuModel::ProfileMenuModel() menu_.reset(new views::Menu2(this)); } -ProfileMenuModel::~ProfileMenuModel() { -} - void ProfileMenuModel::RunMenuAt(const gfx::Point& point) { menu_->RunMenuAt(point, views::Menu2::ALIGN_TOPRIGHT); } diff --git a/chrome/browser/profiles/profile_menu_model.h b/chrome/browser/profiles/profile_menu_model.h index c168004..da2bb86 100644 --- a/chrome/browser/profiles/profile_menu_model.h +++ b/chrome/browser/profiles/profile_menu_model.h @@ -27,7 +27,6 @@ class ProfileMenuModel : public ui::SimpleMenuModel, public ui::SimpleMenuModel::Delegate { public: ProfileMenuModel(); - virtual ~ProfileMenuModel(); void RunMenuAt(const gfx::Point& point); diff --git a/views/controls/menu/menu_2.cc b/views/controls/menu/menu_2.cc index 388b4e9..f64f275 100644 --- a/views/controls/menu/menu_2.cc +++ b/views/controls/menu/menu_2.cc @@ -16,9 +16,6 @@ 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 7204120..8916b7c 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. |