fix: gtk_init() called 2x in AtomBrowserMainParts (#19986)
Fixes #19984.
This commit is contained in:
parent
538c4763cf
commit
217ed9aabc
1 changed files with 0 additions and 4 deletions
|
@ -460,10 +460,6 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() {
|
||||||
if (command_line->HasSwitch(switches::kRemoteDebuggingPort))
|
if (command_line->HasSwitch(switches::kRemoteDebuggingPort))
|
||||||
DevToolsManagerDelegate::StartHttpHandler();
|
DevToolsManagerDelegate::StartHttpHandler();
|
||||||
|
|
||||||
#if defined(USE_X11)
|
|
||||||
libgtkui::GtkInitFromCommandLine(*base::CommandLine::ForCurrentProcess());
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(OS_MACOSX)
|
#if !defined(OS_MACOSX)
|
||||||
// The corresponding call in macOS is in AtomApplicationDelegate.
|
// The corresponding call in macOS is in AtomApplicationDelegate.
|
||||||
Browser::Get()->WillFinishLaunching();
|
Browser::Get()->WillFinishLaunching();
|
||||||
|
|
Loading…
Reference in a new issue