diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 02:04:17 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 02:04:17 +0000 |
commit | aad8e8ffb7ccdecd012a427e47bffb454e08bded (patch) | |
tree | 4df4ca8ac0eae9cd80449665caec58fdcb7f399a /chrome/browser/worker_host | |
parent | 556aa68d7645a4e3e802ab304bdc85e240f25747 (diff) | |
download | chromium_src-aad8e8ffb7ccdecd012a427e47bffb454e08bded.zip chromium_src-aad8e8ffb7ccdecd012a427e47bffb454e08bded.tar.gz chromium_src-aad8e8ffb7ccdecd012a427e47bffb454e08bded.tar.bz2 |
Coverity: Pass parameters by reference.
CID=2620,2654,2656,2657,2694,2701,2718,8074,8075,8076,8077,8078,
8079,8080,8082,8083,8406,8407,8408,8730,9160,11282,11897,12722,
12724
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4623001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65469 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/worker_host')
-rw-r--r-- | chrome/browser/worker_host/worker_document_set.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/worker_host/worker_document_set.h b/chrome/browser/worker_host/worker_document_set.h index a73a9c9..7894fc4 100644 --- a/chrome/browser/worker_host/worker_document_set.h +++ b/chrome/browser/worker_host/worker_document_set.h @@ -32,7 +32,7 @@ class WorkerDocumentSet : public base::RefCounted<WorkerDocumentSet> { // Define operator "<", which is used to determine uniqueness within // the set. - bool operator <(DocumentInfo other) const { + bool operator <(const DocumentInfo& other) const { // Items are identical if the sender and document_id are identical, // otherwise create an arbitrary stable ordering based on the document // id/sender. |