summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_shell_main.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_main.cc5
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;