summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index a35bce3..104a93f 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -295,8 +295,9 @@ int BrowserMain(CommandLine &parsed_command_line, int show_command,
#if defined(OS_WIN)
// Make the selection of network stacks early on before any consumers try to
// issue HTTP requests.
- if (parsed_command_line.HasSwitch(switches::kUseWinHttp))
- net::HttpNetworkLayer::UseWinHttp(true);
+ net::HttpNetworkLayer::UseWinHttp(true);
+ if (parsed_command_line.HasSwitch(switches::kUseNewHttp))
+ net::HttpNetworkLayer::UseWinHttp(false);
#endif
std::wstring user_data_dir;