Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6819)

Unified Diff: chrome/browser/autofill/autofill_external_delegate.h

Issue 9380051: Coverity: Fix a few pass-by-values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/autofill_external_delegate.h
diff --git a/chrome/browser/autofill/autofill_external_delegate.h b/chrome/browser/autofill/autofill_external_delegate.h
index 6953594412562d720a0dbff49c33ba93be746c07..b3413045783364221bb638a2667de391959e6d68 100644
--- a/chrome/browser/autofill/autofill_external_delegate.h
+++ b/chrome/browser/autofill/autofill_external_delegate.h
@@ -62,7 +62,7 @@ class AutofillExternalDelegate {
void DidEndTextFieldEditing();
// Inform the delegate that an autofill suggestion have been chosen.
- void DidAcceptAutofillSuggestions(string16 value,
+ void DidAcceptAutofillSuggestions(const string16& value,
int unique_id,
unsigned index);

Powered by Google App Engine
This is Rietveld 408576698