diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-29 16:46:09 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-29 16:46:09 +0000 |
commit | cd828277cb32df85f9882bcdc5d97f46090d71cf (patch) | |
tree | 540191012fa06eba8b048707df56ff608ce0bfb4 | |
parent | d2cec16822a2c9c913ddc5da2184cd964d0a19eb (diff) | |
download | chromium_src-cd828277cb32df85f9882bcdc5d97f46090d71cf.zip chromium_src-cd828277cb32df85f9882bcdc5d97f46090d71cf.tar.gz chromium_src-cd828277cb32df85f9882bcdc5d97f46090d71cf.tar.bz2 |
Coverity: Fix a pass-by-value.
CID_COUNT=1
CID=104097
BUG=none
TEST=none
R=groby
TBR=sky
Review URL: https://chromiumcodereview.appspot.com/10452048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139307 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/browser/load_from_memory_cache_details.cc | 4 | ||||
-rw-r--r-- | content/browser/load_from_memory_cache_details.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/content/browser/load_from_memory_cache_details.cc b/content/browser/load_from_memory_cache_details.cc index e78171f..e6bbb9a 100644 --- a/content/browser/load_from_memory_cache_details.cc +++ b/content/browser/load_from_memory_cache_details.cc @@ -9,8 +9,8 @@ LoadFromMemoryCacheDetails::LoadFromMemoryCacheDetails( int pid, int cert_id, net::CertStatus cert_status, - std::string http_method, - std::string mime_type, + const std::string& http_method, + const std::string& mime_type, ResourceType::Type resource_type) : url_(url), pid_(pid), diff --git a/content/browser/load_from_memory_cache_details.h b/content/browser/load_from_memory_cache_details.h index b17f06e..1c69ca3 100644 --- a/content/browser/load_from_memory_cache_details.h +++ b/content/browser/load_from_memory_cache_details.h @@ -19,8 +19,8 @@ class LoadFromMemoryCacheDetails { int pid, int cert_id, net::CertStatus cert_status, - std::string http_method, - std::string mime_type, + const std::string& http_method, + const std::string& mime_type, ResourceType::Type resource_type); ~LoadFromMemoryCacheDetails(); |