| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| index 188f72c2ed56d1f8e52fccd8a70cb138e15ff676..1ad6482abb1682051476c7f031af0cbd43927fa5 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| @@ -1812,9 +1812,8 @@ base::string16 AutofillDialogControllerImpl::InputValidityMessage(
|
|
|
| case NAME_FULL:
|
| // Wallet requires a first and last billing name.
|
| - if (section == SECTION_CC_BILLING && !value.empty() &&
|
| + if (IsPayingWithWallet() && !value.empty() &&
|
| !IsCardHolderNameValidForWallet(value)) {
|
| - DCHECK(IsPayingWithWallet());
|
| return l10n_util::GetStringUTF16(
|
| IDS_AUTOFILL_DIALOG_VALIDATION_WALLET_REQUIRES_TWO_NAMES);
|
| }
|
|
|