summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/autofill/data_model_wrapper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/autofill/data_model_wrapper.cc')
-rw-r--r--chrome/browser/ui/autofill/data_model_wrapper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/autofill/data_model_wrapper.cc b/chrome/browser/ui/autofill/data_model_wrapper.cc
index 6a71ee3..b00e5da 100644
--- a/chrome/browser/ui/autofill/data_model_wrapper.cc
+++ b/chrome/browser/ui/autofill/data_model_wrapper.cc
@@ -110,7 +110,7 @@ base::string16 AutofillProfileWrapper::GetInfo(const AutofillType& type) const {
// but the AutofillProfile class doesn't know how to fill credit card
// fields. So, request for the corresponding profile type instead.
AutofillType effective_type = type;
- if (type.GetStorableType() == CREDIT_CARD_NAME)
+ if (type.GetStorableType() == CREDIT_CARD_NAME_FULL)
effective_type = AutofillType(NAME_BILLING_FULL);
const std::string& app_locale = g_browser_process->GetApplicationLocale();