Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: net/http/http_network_transaction_unittest.cc

Issue 21158: Fix a logic error in the handling the response to an HTTP... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_response_headers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction_unittest.cc
===================================================================
--- net/http/http_network_transaction_unittest.cc (revision 9548)
+++ net/http/http_network_transaction_unittest.cc (working copy)
@@ -207,8 +207,7 @@
net::ProxyService* CreateFixedProxyService(const std::string& proxy) {
net::ProxyInfo proxy_info;
proxy_info.UseNamedProxy(proxy);
- return new net::ProxyService(
- new net::ProxyConfigServiceFixed(proxy_info), NULL);
+ return net::ProxyService::Create(&proxy_info);
}
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_response_headers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698