diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 20:57:46 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 20:57:46 +0000 |
commit | dd48b295d1e19e3d25fca96bfad820d007b137a1 (patch) | |
tree | f5d3786e7acc8ef7832e4608e91d3e4eb3c09697 /webkit/tools/test_shell/test_shell_main.cc | |
parent | 0144cbb8cfc2c09de155908849df2eb0de19b701 (diff) | |
download | chromium_src-dd48b295d1e19e3d25fca96bfad820d007b137a1.zip chromium_src-dd48b295d1e19e3d25fca96bfad820d007b137a1.tar.gz chromium_src-dd48b295d1e19e3d25fca96bfad820d007b137a1.tar.bz2 |
Make new http stack the default for test_shell.exe. The consequence of this change is the buildbots will be running layout tests with the new stack.
Review URL: http://codereview.chromium.org/7409
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3415 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell_main.cc')
-rw-r--r-- | webkit/tools/test_shell/test_shell_main.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc index 6738984..b184dc8 100644 --- a/webkit/tools/test_shell/test_shell_main.cc +++ b/webkit/tools/test_shell/test_shell_main.cc @@ -152,9 +152,8 @@ int main(int argc, char* argv[]) { #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(test_shell::kUseNewHttp)) - net::HttpNetworkLayer::UseWinHttp(false); + if (parsed_command_line.HasSwitch(test_shell::kUseWinHttp)) + net::HttpNetworkLayer::UseWinHttp(true); #endif net::HttpCache::Mode cache_mode = net::HttpCache::NORMAL; |