summaryrefslogtreecommitdiffstats
path: root/extensions/shell/browser/shell_desktop_controller_aura.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/shell/browser/shell_desktop_controller_aura.cc')
-rw-r--r--extensions/shell/browser/shell_desktop_controller_aura.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/shell/browser/shell_desktop_controller_aura.cc b/extensions/shell/browser/shell_desktop_controller_aura.cc
index f89714a..2cf78ef 100644
--- a/extensions/shell/browser/shell_desktop_controller_aura.cc
+++ b/extensions/shell/browser/shell_desktop_controller_aura.cc
@@ -246,8 +246,8 @@ void ShellDesktopControllerAura::OnHostCloseRequested(
const aura::WindowTreeHost* host) {
DCHECK_EQ(host_.get(), host);
CloseAppWindows();
- base::MessageLoop::current()->PostTask(FROM_HERE,
- base::MessageLoop::QuitClosure());
+ base::MessageLoop::current()->PostTask(
+ FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
}
void ShellDesktopControllerAura::InitWindowManager() {