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:
Cheng Zhao 2014-07-28 15:28:38 +08:00
parent a8e879d0c5
commit a866718b49

View file

@ -60,6 +60,8 @@ void BrowserMainParts::PreEarlyInitialization() {
#if defined(USE_AURA) && defined(USE_X11)
views::LinuxUI::SetInstance(BuildGtk2UI());
#endif
InitProxyResolverV8();
}
void BrowserMainParts::ToolkitInitialized() {
@ -104,7 +106,6 @@ int BrowserMainParts::PreCreateThreads() {
views::CreateDesktopScreen());
#endif
InitProxyResolverV8();
return 0;
}