MessageLoop::QuitWhenIdleClosure -> RunLoop::QuitCurrentWhenIdleClosureDeprecated
This commit is contained in:
parent
e6da87b864
commit
f0da5bce80
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue