Index: ui/views/test/menu_test_utils.cc |
diff --git a/ui/views/test/menu_test_utils.cc b/ui/views/test/menu_test_utils.cc |
index 6e64f7441cd44168f5559b3e2a23272af0507bfc..b103a0153f6ec2df23026fd8a5311f5eba35fe5a 100644 |
--- a/ui/views/test/menu_test_utils.cc |
+++ b/ui/views/test/menu_test_utils.cc |
@@ -15,7 +15,6 @@ TestMenuDelegate::TestMenuDelegate() |
: execute_command_id_(0), |
on_menu_closed_called_count_(0), |
on_menu_closed_menu_(nullptr), |
- on_menu_closed_run_result_(MenuRunner::MENU_DELETED), |
on_perform_drop_called_(false) {} |
TestMenuDelegate::~TestMenuDelegate() {} |
@@ -33,11 +32,9 @@ void TestMenuDelegate::ExecuteCommand(int id) { |
execute_command_id_ = id; |
} |
-void TestMenuDelegate::OnMenuClosed(MenuItemView* menu, |
- MenuRunner::RunResult result) { |
+void TestMenuDelegate::OnMenuClosed(MenuItemView* menu) { |
on_menu_closed_called_count_++; |
on_menu_closed_menu_ = menu; |
- on_menu_closed_run_result_ = result; |
} |
int TestMenuDelegate::OnPerformDrop(MenuItemView* menu, |