| Index: views/controls/menu/menu_host_root_view.cc
|
| diff --git a/views/controls/menu/menu_host_root_view.cc b/views/controls/menu/menu_host_root_view.cc
|
| index 181280127645ff37dbef4d296364f454a0ad35d4..720ea9a38aad8984c5454125955e13ce047e1b48 100644
|
| --- a/views/controls/menu/menu_host_root_view.cc
|
| +++ b/views/controls/menu/menu_host_root_view.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -56,7 +56,7 @@ void MenuHostRootView::OnMouseReleased(const MouseEvent& event,
|
| if (forward_drag_to_menu_controller_) {
|
| forward_drag_to_menu_controller_ = false;
|
| if (canceled) {
|
| - GetMenuController()->Cancel(true);
|
| + GetMenuController()->Cancel(MenuController::EXIT_ALL);
|
| } else {
|
| GetMenuController()->OnMouseReleased(submenu_, event);
|
| }
|
|
|