From 4baff382e9e19cb984849d0d5a644289be1f4a3d Mon Sep 17 00:00:00 2001 From: "dpapad@chromium.org" Date: Wed, 22 Jun 2011 17:38:31 +0000 Subject: 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 --- chrome/browser/safe_browsing/safe_browsing_service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/safe_browsing/safe_browsing_service.h') 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 -- cgit v1.1