| Index: components/autofill/core/browser/personal_data_manager.cc
|
| diff --git a/components/autofill/core/browser/personal_data_manager.cc b/components/autofill/core/browser/personal_data_manager.cc
|
| index d5645559cc3f6cd51d6e9dc338042914599e35ba..f0a2185dffec5269c5ce5630c9e18a14cc351ca0 100644
|
| --- a/components/autofill/core/browser/personal_data_manager.cc
|
| +++ b/components/autofill/core/browser/personal_data_manager.cc
|
| @@ -672,7 +672,7 @@ void PersonalDataManager::GetCreditCardSuggestions(
|
| creditcard_field_value = credit_card->ObfuscatedNumber();
|
|
|
| base::string16 label;
|
| - if (credit_card->number().empty()) {
|
| + if (credit_card->GetNumber().empty()) {
|
| // If there is no CC number, return name to show something.
|
| label =
|
| credit_card->GetInfo(AutofillType(CREDIT_CARD_NAME), app_locale_);
|
| @@ -1013,7 +1013,7 @@ void PersonalDataManager::NotifyPersonalDataChanged() {
|
|
|
| std::string PersonalDataManager::SaveImportedCreditCard(
|
| const CreditCard& imported_card) {
|
| - DCHECK(!imported_card.number().empty());
|
| + DCHECK(!imported_card.GetNumber().empty());
|
| if (is_off_the_record_)
|
| return std::string();
|
|
|
|
|