From a21ed8c892e49fd2ceebc9890d01f488111978cc Mon Sep 17 00:00:00 2001 From: "ki.stfu" Date: Mon, 12 Oct 2015 10:26:00 -0700 Subject: Don't use base::MessageLoop::{Quit,QuitClosure} in extensions/, ipc/ This patch renames base::MessageLoop::{Quit,QuitClosure} to base::MessageLoop::{QuitWhenIdle,QuitWhenIdleClosure}. BUG=131220 TEST= R=finnur@chromium.org,agl@chromium.org Review URL: https://codereview.chromium.org/1389163008 Cr-Commit-Position: refs/heads/master@{#353545} --- extensions/shell/browser/shell_desktop_controller_aura.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/shell') 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() { -- cgit v1.1