summaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
Diffstat (limited to 'net/http')
-rw-r--r--net/http/http_network_transaction_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index 514ee38..007f0fb 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -345,9 +345,9 @@ ProxyService* CreateNullProxyService() {
}
ProxyService* CreateFixedProxyService(const std::string& proxy) {
- ProxyInfo proxy_info;
- proxy_info.UseNamedProxy(proxy);
- return ProxyService::Create(&proxy_info);
+ net::ProxyConfig proxy_config;
+ proxy_config.proxy_rules.ParseFromString(proxy);
+ return ProxyService::Create(&proxy_config);
}