diff options
author | dpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 17:38:31 +0000 |
---|---|---|
committer | dpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 17:38:31 +0000 |
commit | 4baff382e9e19cb984849d0d5a644289be1f4a3d (patch) | |
tree | 6fcda7691ad3c58caeb73c8a5db2cb3f2c8304a4 /chrome/browser/safe_browsing/safe_browsing_service.h | |
parent | e675f7b8eed8528ad29fd2c77e7562a8369319ea (diff) | |
download | chromium_src-4baff382e9e19cb984849d0d5a644289be1f4a3d.zip chromium_src-4baff382e9e19cb984849d0d5a644289be1f4a3d.tar.gz chromium_src-4baff382e9e19cb984849d0d5a644289be1f4a3d.tar.bz2 |
Fixing coverity PASS_BY_VALUE bugs.
CIDs: 13844, 13845, 14689, 14731, 14732, 17117
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/7219012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_service.h')
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_service.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h index e3a8549..65b7ea2 100644 --- a/chrome/browser/safe_browsing/safe_browsing_service.h +++ b/chrome/browser/safe_browsing/safe_browsing_service.h @@ -408,7 +408,7 @@ class SafeBrowsingService int64 timeout_ms); // Adds the given entry to the whitelist. Called on the UI thread. - void UpdateWhitelist(UnsafeResource resource); + void UpdateWhitelist(const UnsafeResource& resource); // The factory used to instanciate a SafeBrowsingService object. // Useful for tests, so they can provide their own implementation of |