Index: content/shell/browser/shell.cc |
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc |
index b273931d361dd5ce9265fe85ec405473f9994df8..3a6933a01e208fb1f641a4bdab238c57722b9e02 100644 |
--- a/content/shell/browser/shell.cc |
+++ b/content/shell/browser/shell.cc |
@@ -93,7 +93,7 @@ Shell::~Shell() { |
if (headless_) |
PlatformExit(); |
base::ThreadTaskRunnerHandle::Get()->PostTask( |
- FROM_HERE, base::MessageLoop::QuitClosure()); |
+ FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); |
} |
} |