summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_transaction_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_network_transaction_unittest.cc')
-rw-r--r--net/http/http_network_transaction_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index 375d62d..1e9f6aad 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -207,8 +207,7 @@ net::ProxyService* CreateNullProxyService() {
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);
}