diff options
author | oshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-24 07:19:51 +0000 |
---|---|---|
committer | oshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-24 07:19:51 +0000 |
commit | 4d62853116b1f32e7aaa832c7988fb173eafac24 (patch) | |
tree | 3d43282a5b159b1659f650807822810881552368 /views/controls/menu | |
parent | 6e08414d4b8a1d0217118a282666add8ec0b777a (diff) | |
download | chromium_src-4d62853116b1f32e7aaa832c7988fb173eafac24.zip chromium_src-4d62853116b1f32e7aaa832c7988fb173eafac24.tar.gz chromium_src-4d62853116b1f32e7aaa832c7988fb173eafac24.tar.bz2 |
rename Run in MessageLoopForUI to RunWithDispatcher
BUG=99471
TEST=none
Review URL: http://codereview.chromium.org/8343023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu')
-rw-r--r-- | views/controls/menu/menu_controller.cc | 2 | ||||
-rw-r--r-- | views/controls/menu/nested_dispatcher_gtk.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/menu/menu_controller.cc b/views/controls/menu/menu_controller.cc index a4b0d56..359cbb7 100644 --- a/views/controls/menu/menu_controller.cc +++ b/views/controls/menu/menu_controller.cc @@ -319,7 +319,7 @@ MenuItemView* MenuController::Run(Widget* parent, MessageLoopForUI* loop = MessageLoopForUI::current(); bool did_allow_task_nesting = loop->NestableTasksAllowed(); loop->SetNestableTasksAllowed(true); - loop->Run(this); + loop->RunWithDispatcher(this); loop->SetNestableTasksAllowed(did_allow_task_nesting); if (ViewsDelegate::views_delegate) diff --git a/views/controls/menu/nested_dispatcher_gtk.cc b/views/controls/menu/nested_dispatcher_gtk.cc index 383447c..688df9b 100644 --- a/views/controls/menu/nested_dispatcher_gtk.cc +++ b/views/controls/menu/nested_dispatcher_gtk.cc @@ -20,7 +20,7 @@ bool NestedDispatcherGtk::RunAndSelfDestruct() { bool nestable = MessageLoopForUI::current()->NestableTasksAllowed(); if (allow_nested_task_) MessageLoopForUI::current()->SetNestableTasksAllowed(true); - MessageLoopForUI::current()->Run(this); + MessageLoopForUI::current()->RunWithDispatcher(this); if (allow_nested_task_) MessageLoopForUI::current()->SetNestableTasksAllowed(nestable); bool creator_is_deleted = creator_ == NULL; |