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

Unified Diff: chrome/browser/autofill/autofill_profile.cc

Issue 6676031: Autofill database migration to clean up bogus profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move to Lingesh's observer mechanism. Created 9 years, 9 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_profile.cc
diff --git a/chrome/browser/autofill/autofill_profile.cc b/chrome/browser/autofill/autofill_profile.cc
index 5aa474a0de8ff4d187c242ebe0379ea4a20300d7..b7a3e984222fca64822fcefd51e6021430e85dd2 100644
--- a/chrome/browser/autofill/autofill_profile.cc
+++ b/chrome/browser/autofill/autofill_profile.cc
@@ -311,8 +311,7 @@ bool AutofillProfile::operator!=(const AutofillProfile& profile) const {
const string16 AutofillProfile::PrimaryValue() const {
return GetFieldText(AutofillType(NAME_FULL)) +
GetFieldText(AutofillType(ADDRESS_HOME_LINE1)) +
- GetFieldText(AutofillType(ADDRESS_HOME_LINE2)) +
- GetFieldText(AutofillType(EMAIL_ADDRESS));
Ilya Sherman 2011/03/16 23:07:16 This isn't the right fix for not merging with empt
dhollowa 2011/03/17 00:02:42 Yes, true. Will address later. On 2011/03/16 23:
+ GetFieldText(AutofillType(ADDRESS_HOME_LINE2));
}
string16 AutofillProfile::ConstructInferredLabel(

Powered by Google App Engine
This is Rietveld 408576698