MessageLoop::QuitWhenIdleClosure -> RunLoop::QuitCurrentWhenIdleClosureDeprecated

This commit is contained in:
Jeremy Apthorp 2018-09-14 17:28:16 -07:00 committed by Aleksei Kuzmin
parent e6da87b864
commit f0da5bce80
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ void Browser::Shutdown() {
if (base::ThreadTaskRunnerHandle::IsSet()) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
FROM_HERE, base::RunLoop::QuitCurrentWhenIdleClosureDeprecated());
} else {
// There is no message loop available so we are in early stage.
exit(0);