diff options
Diffstat (limited to 'ash/accelerators/nested_dispatcher_controller.cc')
-rw-r--r-- | ash/accelerators/nested_dispatcher_controller.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ash/accelerators/nested_dispatcher_controller.cc b/ash/accelerators/nested_dispatcher_controller.cc index 5daeca2..45ad0e4 100644 --- a/ash/accelerators/nested_dispatcher_controller.cc +++ b/ash/accelerators/nested_dispatcher_controller.cc @@ -6,6 +6,7 @@ #include "ash/accelerators/accelerator_dispatcher.h" #include "ash/shell.h" +#include "base/run_loop.h" namespace ash { @@ -25,7 +26,10 @@ void NestedDispatcherController::RunWithDispatcher( AcceleratorDispatcher dispatcher(nested_dispatcher, associated_window); - loop->RunWithDispatcher(&dispatcher); + // TODO(jbates) crbug.com/134753 Find quitters of this RunLoop and have them + // use run_loop.QuitClosure(). + base::RunLoop run_loop(&dispatcher); + run_loop.Run(); loop->SetNestableTasksAllowed(did_allow_task_nesting); } |