summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/proxy_service.cc')
-rw-r--r--net/proxy/proxy_service.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc
index 06141f6..f1c9865 100644
--- a/net/proxy/proxy_service.cc
+++ b/net/proxy/proxy_service.cc
@@ -293,15 +293,7 @@ ProxyService* ProxyService::Create(const ProxyInfo* pi) {
if (pi) {
// The ProxyResolver is set to NULL, since it should never be called
// (because the configuration will never require PAC).
- ProxyService* proxy_service =
- new ProxyService(new ProxyConfigServiceFixed(*pi), NULL);
-
- // TODO(eroman): remove this WinHTTP hack once it is no more.
- // We keep a copy of the ProxyInfo that was used to create the
- // proxy service, so we can pass it to WinHTTP.
- proxy_service->proxy_info_.reset(new ProxyInfo(*pi));
-
- return proxy_service;
+ return new ProxyService(new ProxyConfigServiceFixed(*pi), NULL);
}
#if defined(OS_WIN)
return new ProxyService(new ProxyConfigServiceWin(),