Index: chrome/browser/ui/autofill/data_model_wrapper.cc |
diff --git a/chrome/browser/ui/autofill/data_model_wrapper.cc b/chrome/browser/ui/autofill/data_model_wrapper.cc |
index 6a71ee36d356791ba09cb62afbb1dc8b5ce80fce..b00e5da12bba2e4d0047beb7fd568b88facfe128 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(); |