diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 04:21:10 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 04:21:10 +0000 |
commit | 92d5d525fc362abbf882d045261373a17798c043 (patch) | |
tree | 3e9ca61bef4e49726c5383de8f21a8bb34d1bd2a /net/websockets | |
parent | 1264b8bdf52d38e7a32b7b7de9737ea0a307bdd7 (diff) | |
download | chromium_src-92d5d525fc362abbf882d045261373a17798c043.zip chromium_src-92d5d525fc362abbf882d045261373a17798c043.tar.gz chromium_src-92d5d525fc362abbf882d045261373a17798c043.tar.bz2 |
Coverity: Pass parameters by reference.
CID=8725,14376,15499,15540,15655,16687,16688
BUG=none
TEST=none
R=kmadhusu@chromium.org
Review URL: http://codereview.chromium.org/7211037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/websockets')
-rw-r--r-- | net/websockets/websocket.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/websockets/websocket.h b/net/websockets/websocket.h index cc0176b..da72870 100644 --- a/net/websockets/websocket.h +++ b/net/websockets/websocket.h @@ -72,8 +72,10 @@ class NET_API WebSocket : public base::RefCountedThreadSafe<WebSocket>, }; class Request { public: - Request(const GURL& url, const std::string protocol, - const std::string origin, const std::string location, + Request(const GURL& url, + const std::string& protocol, + const std::string& origin, + const std::string& location, ProtocolVersion version, net::URLRequestContext* context) : url_(url), |