Index: content/shell/browser/shell.cc |
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc |
index d051c091eac8bdae39675b410a1b482ff8afbb09..67552c80c2f4b2c09e3e782cee5ed1404558dc7a 100644 |
--- a/content/shell/browser/shell.cc |
+++ b/content/shell/browser/shell.cc |
@@ -121,8 +121,8 @@ void Shell::CloseAllWindows() { |
std::vector<Shell*> open_windows(windows_); |
for (size_t i = 0; i < open_windows.size(); ++i) |
open_windows[i]->Close(); |
- PlatformExit(); |
base::MessageLoop::current()->RunUntilIdle(); |
+ PlatformExit(); |
} |
void Shell::SetShellCreatedCallback( |