Index: components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc |
diff --git a/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc b/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc |
index da0fe377b4fbd91a107a809585f88cfcbee9479f..39ca8f19d11bcf020a4b71463d283e9e95e7b3ef 100644 |
--- a/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc |
+++ b/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc |
@@ -216,12 +216,13 @@ base::string16 CardUnmaskPromptControllerImpl::GetWindowTitle() const { |
// The iOS UI has less room for the title and places a "Verify" button right |
// next to it so the full title ("Verify your" + type and last four) is |
// unnecessary. |
- return card_.TypeAndLastFourDigits(); |
+ return card_.TypeAndLastFourDigitsForDisplay(); |
#else |
int ids = ShouldRequestExpirationDate() |
? IDS_AUTOFILL_CARD_UNMASK_PROMPT_UPDATE_TITLE |
: IDS_AUTOFILL_CARD_UNMASK_PROMPT_TITLE; |
- return l10n_util::GetStringFUTF16(ids, card_.TypeAndLastFourDigits()); |
+ return l10n_util::GetStringFUTF16(ids, |
+ card_.TypeAndLastFourDigitsForDisplay()); |
#endif |
} |