From 27b5ce9bb27f6c4aa60931cea1c3bab2ed3b9e47 Mon Sep 17 00:00:00 2001 From: "ericroman@google.com" Date: Tue, 21 Oct 2008 21:49:49 +0000 Subject: Change the default http stack for chrome.exe from winhttp to the new one. http://code.google.com/p/chromium/issues/detail?id=2645 Review URL: http://codereview.chromium.org/7668 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3693 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_main.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chrome/browser/browser_main.cc') diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 104a93f..a35bce3 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -295,9 +295,8 @@ 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. - net::HttpNetworkLayer::UseWinHttp(true); - if (parsed_command_line.HasSwitch(switches::kUseNewHttp)) - net::HttpNetworkLayer::UseWinHttp(false); + if (parsed_command_line.HasSwitch(switches::kUseWinHttp)) + net::HttpNetworkLayer::UseWinHttp(true); #endif std::wstring user_data_dir; -- cgit v1.1