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

Unified Diff: components/autofill/core/browser/autofill_profile.h

Issue 382243002: Cleanup return values in autofill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: components/autofill/core/browser/autofill_profile.h
diff --git a/components/autofill/core/browser/autofill_profile.h b/components/autofill/core/browser/autofill_profile.h
index 7ae95722a1d33408f53235d6012229968359407e..a927e780774114c6c17af03d83303f976c4254cd 100644
--- a/components/autofill/core/browser/autofill_profile.h
+++ b/components/autofill/core/browser/autofill_profile.h
@@ -99,7 +99,7 @@ class AutofillProfile : public AutofillDataModel {
// Returns concatenation of full name and address line 1. This acts as the
// basis of comparison for new values that are submitted through forms to
// aid with correct aggregation of new data.
- const base::string16 PrimaryValue() const;
+ const base::string16& PrimaryValue() const;
// Returns true if the data in this AutofillProfile is a subset of the data in
// |profile|.

Powered by Google App Engine
This is Rietveld 408576698