mirror of
https://github.com/electron/electron.git
synced 2026-01-07 22:54:25 -05:00
chore: refactor safeStorage
This commit is contained in:
@@ -470,6 +470,8 @@ int ElectronBrowserMainParts::PreMainMessageLoopRun() {
|
||||
DevToolsManagerDelegate::StartHttpHandler();
|
||||
}
|
||||
|
||||
fake_browser_process_->PreMainMessageLoopRun();
|
||||
|
||||
#if !BUILDFLAG(IS_MAC)
|
||||
// The corresponding call in macOS is in ElectronApplicationDelegate.
|
||||
Browser::Get()->WillFinishLaunching();
|
||||
@@ -479,8 +481,6 @@ int ElectronBrowserMainParts::PreMainMessageLoopRun() {
|
||||
// Notify observers that main thread message loop was initialized.
|
||||
Browser::Get()->PreMainMessageLoopRun();
|
||||
|
||||
fake_browser_process_->PreMainMessageLoopRun();
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
ui::SelectFileDialog::SetFactory(
|
||||
std::make_unique<ChromeSelectFileDialogFactory>());
|
||||
|
||||
Reference in New Issue
Block a user