diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-20 19:30:45 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-20 19:30:45 +0000 |
commit | af18c2f60261ce93c24b21ebc261c6a1cdafb976 (patch) | |
tree | 11cac307b1cc60dc9fc94a3bd6470a6f92e44209 /net/http | |
parent | 062e5e8843da194ae381d30ae4066ad6598e50f2 (diff) | |
download | chromium_src-af18c2f60261ce93c24b21ebc261c6a1cdafb976.zip chromium_src-af18c2f60261ce93c24b21ebc261c6a1cdafb976.tar.gz chromium_src-af18c2f60261ce93c24b21ebc261c6a1cdafb976.tar.bz2 |
Coverity: Fix a pass-by-value.
CID_COUNT=1
CID=104201
BUG=none
TEST=none
R=groby
TBR=willchan
Review URL: https://chromiumcodereview.appspot.com/10579045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143231 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_stream_factory_impl_job.cc | 2 | ||||
-rw-r--r-- | net/http/http_stream_factory_impl_job.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc index c1b08e0..b88b622 100644 --- a/net/http/http_stream_factory_impl_job.cc +++ b/net/http/http_stream_factory_impl_job.cc @@ -351,7 +351,7 @@ void HttpStreamFactoryImpl::Job::OnPreconnectsComplete() { // static int HttpStreamFactoryImpl::Job::OnHostResolution( SpdySessionPool* spdy_session_pool, - const HostPortProxyPair spdy_session_key, + const HostPortProxyPair& spdy_session_key, const AddressList& addresses, const BoundNetLog& net_log) { // It is OK to dereference spdy_session_pool, because the diff --git a/net/http/http_stream_factory_impl_job.h b/net/http/http_stream_factory_impl_job.h index 7b6bd07..e247458 100644 --- a/net/http/http_stream_factory_impl_job.h +++ b/net/http/http_stream_factory_impl_job.h @@ -210,7 +210,7 @@ class HttpStreamFactoryImpl::Job { // be found. Will return ERR_SPDY_SESSION_ALREADY_EXISTS if such a // session is found, and OK otherwise. static int OnHostResolution(SpdySessionPool* spdy_session_pool, - const HostPortProxyPair spdy_session_key, + const HostPortProxyPair& spdy_session_key, const AddressList& addresses, const BoundNetLog& net_log); |