Index: content/shell/shell_browser_main.cc |
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc |
index 44f09f97bd86e2e86a675416f429dda3e72e023c..e7464ea76b1ed494a87947959d4897ef7edd97ef 100644 |
--- a/content/shell/shell_browser_main.cc |
+++ b/content/shell/shell_browser_main.cc |
@@ -171,6 +171,8 @@ int ShellBrowserMain( |
if (test_string == "QUIT") |
break; |
+ base::MessageLoop::current()->RunUntilIdle(); |
+ |
bool enable_pixel_dumps; |
std::string pixel_hash; |
base::FilePath cwd; |