| Index: components/autofill/browser/autofill_manager.cc
|
| diff --git a/components/autofill/browser/autofill_manager.cc b/components/autofill/browser/autofill_manager.cc
|
| index 20c16e8bf3d2f0b263dea40ab64d4e322af53c2b..5007c8246f8bf83c1d866f408ce9c65912abcd39 100644
|
| --- a/components/autofill/browser/autofill_manager.cc
|
| +++ b/components/autofill/browser/autofill_manager.cc
|
| @@ -340,7 +340,8 @@ bool AutofillManager::OnFormSubmitted(const FormData& form,
|
| // Only upload server statistics and UMA metrics if at least some local data
|
| // is available to use as a baseline.
|
| const std::vector<AutofillProfile*>& profiles = personal_data_->GetProfiles();
|
| - const std::vector<CreditCard*>& credit_cards = personal_data_->credit_cards();
|
| + const std::vector<CreditCard*>& credit_cards =
|
| + personal_data_->GetCreditCards();
|
| if (!profiles.empty() || !credit_cards.empty()) {
|
| // Copy the profile and credit card data, so that it can be accessed on a
|
| // separate thread.
|
| @@ -970,7 +971,7 @@ bool AutofillManager::GetHost(RenderViewHost** host) const {
|
|
|
| // No autofill data to return if the profiles are empty.
|
| if (personal_data_->GetProfiles().empty() &&
|
| - personal_data_->credit_cards().empty()) {
|
| + personal_data_->GetCreditCards().empty()) {
|
| return false;
|
| }
|
|
|
|
|