Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2989)

Unified Diff: chrome/browser/ui/views/toolbar/chevron_menu_button.cc

Issue 1682603002: [UI Views] Don't allow a ButtonListener and a MenuButtonListener (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/toolbar/chevron_menu_button.cc
diff --git a/chrome/browser/ui/views/toolbar/chevron_menu_button.cc b/chrome/browser/ui/views/toolbar/chevron_menu_button.cc
index baa9e135450af4f2fa2e2216036a435f86885887..63221b10aab6b301f30c61527d73942e735e8c58 100644
--- a/chrome/browser/ui/views/toolbar/chevron_menu_button.cc
+++ b/chrome/browser/ui/views/toolbar/chevron_menu_button.cc
@@ -361,7 +361,7 @@ size_t ChevronMenuButton::MenuController::IndexForId(int id) const {
ChevronMenuButton::ChevronMenuButton(
BrowserActionsContainer* browser_actions_container)
- : views::MenuButton(NULL, base::string16(), this, false),
+ : views::MenuButton(base::string16(), this, false),
browser_actions_container_(browser_actions_container),
weak_factory_(this) {
// Set the border explicitly, because otherwise the native theme manager takes
« no previous file with comments | « chrome/browser/ui/views/toolbar/app_menu_button.cc ('k') | chrome/browser/ui/views/toolbar/toolbar_action_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698