| Index: content/shell/shell_browser_main_parts.cc
|
| diff --git a/content/shell/shell_browser_main_parts.cc b/content/shell/shell_browser_main_parts.cc
|
| index 7d76221ddc176e27621dba4d063679a75745e019..41f92b8545e25304b6e858b7298cc1317b93f693 100644
|
| --- a/content/shell/shell_browser_main_parts.cc
|
| +++ b/content/shell/shell_browser_main_parts.cc
|
| @@ -89,10 +89,6 @@ void ShellBrowserMainParts::PostMainMessageLoopStart() {
|
| }
|
|
|
| void ShellBrowserMainParts::PreEarlyInitialization() {
|
| -#if defined(OS_ANDROID)
|
| - net::NetworkChangeNotifier::SetFactory(
|
| - new net::NetworkChangeNotifierFactoryAndroid());
|
| -#endif
|
| }
|
|
|
| void ShellBrowserMainParts::PreMainMessageLoopRun() {
|
| @@ -101,6 +97,11 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() {
|
|
|
| Shell::PlatformInitialize();
|
| net::NetModule::SetResourceProvider(PlatformResourceProvider);
|
| +#if defined(OS_ANDROID)
|
| + net::NetworkChangeNotifier::SetFactory(
|
| + new net::NetworkChangeNotifierFactoryAndroid(
|
| + MessageLoop::current()->message_loop_proxy()));
|
| +#endif
|
|
|
| int port = 0;
|
| // On android the port number isn't used.
|
|
|