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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.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/toolbar_action_view_unittest.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc b/chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc
index d28937e8bb9fa03956ae2229750e79527780f90b..bf034bfb5af5ff428634622ea574171d31de28ea 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_action_view_unittest.cc
@@ -218,7 +218,7 @@ TEST_F(ToolbarActionViewUnitTest, BasicToolbarActionViewTest) {
EXPECT_FALSE(view.wants_to_run_for_testing());
// Create an overflow button.
- views::MenuButton overflow_button(nullptr, base::string16(), nullptr, false);
+ views::MenuButton overflow_button(base::string16(), nullptr, false);
overflow_button.set_owned_by_client();
action_view_delegate.set_overflow_reference_view(&overflow_button);

Powered by Google App Engine
This is Rietveld 408576698