Initialize ProxyResolverV8 at very early phrase.
In atom-shell we need to ensure node environment is initialized after the ProxyResolverV8 has been initialized.
This commit is contained in:
parent
a8e879d0c5
commit
a866718b49
1 changed files with 2 additions and 1 deletions
|
@ -60,6 +60,8 @@ void BrowserMainParts::PreEarlyInitialization() {
|
||||||
#if defined(USE_AURA) && defined(USE_X11)
|
#if defined(USE_AURA) && defined(USE_X11)
|
||||||
views::LinuxUI::SetInstance(BuildGtk2UI());
|
views::LinuxUI::SetInstance(BuildGtk2UI());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
InitProxyResolverV8();
|
||||||
}
|
}
|
||||||
|
|
||||||
void BrowserMainParts::ToolkitInitialized() {
|
void BrowserMainParts::ToolkitInitialized() {
|
||||||
|
@ -104,7 +106,6 @@ int BrowserMainParts::PreCreateThreads() {
|
||||||
views::CreateDesktopScreen());
|
views::CreateDesktopScreen());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
InitProxyResolverV8();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue