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

Unified Diff: views/controls/menu/nested_dispatcher_gtk.cc

Issue 8343023: rename Run in MessageLoopForUI to RunWithDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 2 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
« no previous file with comments | « views/controls/menu/menu_controller.cc ('k') | views/desktop/desktop_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/nested_dispatcher_gtk.cc
diff --git a/views/controls/menu/nested_dispatcher_gtk.cc b/views/controls/menu/nested_dispatcher_gtk.cc
index 383447c8d208a5dea0b4c8f23e28a1fc6c6e55ab..688df9bb57db960d3104c281e46f8dbdb1bac00f 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;
« no previous file with comments | « views/controls/menu/menu_controller.cc ('k') | views/desktop/desktop_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698