| Index: ash/accelerators/nested_dispatcher_controller.cc
|
| diff --git a/ash/accelerators/nested_dispatcher_controller.cc b/ash/accelerators/nested_dispatcher_controller.cc
|
| index 5daeca2e8973a531f66d2519d4fa586267c166c7..45ad0e44a1eba22f5a016126b9c7a7403b075f57 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);
|
| }
|
|
|
|
|