From 753657a5e4afe8d5d97420b87f71e1a8206bb6d8 Mon Sep 17 00:00:00 2001 From: "groby@chromium.org" Date: Tue, 31 Jan 2012 03:25:41 +0000 Subject: [Coverity] Change pass-by-value to pass-by-ref CID=102968 TBR=rsleevi@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/9159051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119834 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_proxy_client_socket_pool.cc | 2 +- net/http/http_proxy_client_socket_pool.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/http/http_proxy_client_socket_pool.cc b/net/http/http_proxy_client_socket_pool.cc index b4c1eae..7e2d168 100644 --- a/net/http/http_proxy_client_socket_pool.cc +++ b/net/http/http_proxy_client_socket_pool.cc @@ -42,7 +42,7 @@ HttpProxySocketParams::HttpProxySocketParams( const scoped_refptr& ssl_params, const GURL& request_url, const std::string& user_agent, - HostPortPair endpoint, + const HostPortPair& endpoint, HttpAuthCache* http_auth_cache, HttpAuthHandlerFactory* http_auth_handler_factory, SpdySessionPool* spdy_session_pool, diff --git a/net/http/http_proxy_client_socket_pool.h b/net/http/http_proxy_client_socket_pool.h index 9e90187..70c8b5c 100644 --- a/net/http/http_proxy_client_socket_pool.h +++ b/net/http/http_proxy_client_socket_pool.h @@ -58,7 +58,7 @@ class NET_EXPORT_PRIVATE HttpProxySocketParams const scoped_refptr& ssl_params, const GURL& request_url, const std::string& user_agent, - HostPortPair endpoint, + const HostPortPair& endpoint, HttpAuthCache* http_auth_cache, HttpAuthHandlerFactory* http_auth_handler_factory, SpdySessionPool* spdy_session_pool, -- cgit v1.1