| Index: ui/aura/test/aura_test_helper.cc
|
| diff --git a/ui/aura/test/aura_test_helper.cc b/ui/aura/test/aura_test_helper.cc
|
| index c8549bad11ad6a2d9093670a56417709bfefca54..78eada8ce5f99c1f138153bb27b05513dcb3ee0c 100644
|
| --- a/ui/aura/test/aura_test_helper.cc
|
| +++ b/ui/aura/test/aura_test_helper.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ui/aura/test/aura_test_helper.h"
|
|
|
| #include "base/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "ui/aura/client/aura_constants.h"
|
| #include "ui/aura/env.h"
|
| #include "ui/aura/focus_manager.h"
|
| @@ -78,8 +79,10 @@ void AuraTestHelper::TearDown() {
|
|
|
| void AuraTestHelper::RunAllPendingInMessageLoop() {
|
| #if !defined(OS_MACOSX)
|
| - message_loop_->RunAllPendingWithDispatcher(
|
| - Env::GetInstance()->GetDispatcher());
|
| + // TODO(jbates) crbug.com/134753 Find quitters of this RunLoop and have them
|
| + // use run_loop.QuitClosure().
|
| + base::RunLoop run_loop(Env::GetInstance()->GetDispatcher());
|
| + run_loop.RunUntilIdle();
|
| #endif
|
| }
|
|
|
|
|