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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 1694443004: [Autofill] Add credit card first and last name heuristics predictions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch2 Created 4 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: components/autofill/core/browser/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 47a90378c65c2e0d06129b85384a40d562ea7c7a..6ac5e9efe988490cef9dd1c88f02180439f88eec 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -1045,7 +1045,7 @@ std::vector<AutofillProfile> AutofillManager::GetProfilesForCreditCardUpload(
}
if (profile->GetInfo(AutofillType(NAME_FULL), app_locale_) !=
- card.GetInfo(AutofillType(CREDIT_CARD_NAME), app_locale_)) {
+ card.GetInfo(AutofillType(CREDIT_CARD_NAME_FULL), app_locale_)) {
continue;
}

Powered by Google App Engine
This is Rietveld 408576698