migrate off QuitCurrent*Deprecated in browser.cc

modelled after 1096475 and 1096475
This commit is contained in:
Jeremy Apthorp 2018-10-03 14:47:00 -07:00
parent 98829aa916
commit f5eaa97d9d
4 changed files with 21 additions and 3 deletions

View file

@ -260,6 +260,11 @@ bool AtomBrowserMainParts::MainMessageLoopRun(int* result_code) {
return brightray::BrowserMainParts::MainMessageLoopRun(result_code);
}
void AtomBrowserMainParts::PreDefaultMainMessageLoopRun(
base::OnceClosure quit_closure) {
Browser::SetMainMessageLoopQuitClosure(std::move(quit_closure));
}
void AtomBrowserMainParts::PostMainMessageLoopStart() {
brightray::BrowserMainParts::PostMainMessageLoopStart();
#if defined(OS_POSIX)