| Index: content/shell/browser/layout_test/layout_test_browser_main.cc
|
| diff --git a/content/shell/browser/layout_test/layout_test_browser_main.cc b/content/shell/browser/layout_test/layout_test_browser_main.cc
|
| index cbcbfbcfe76e7b3ecb0bb33bd5aff0f4ecf146d2..5603e7c9b94d151e70f5fa2d546437b830cc1af7 100644
|
| --- a/content/shell/browser/layout_test/layout_test_browser_main.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_browser_main.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| +#include "base/run_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| @@ -142,6 +143,7 @@ int LayoutTestBrowserMain(
|
| }
|
|
|
| exit_code = RunTests(main_runner);
|
| + base::RunLoop().RunUntilIdle();
|
|
|
| #if !defined(OS_ANDROID)
|
| main_runner->Shutdown();
|
|
|