| 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 7ebad6e6c6bd877a015341dbbe25d2dee1ea2491..3047044359fc23617b77c77437591cd3d276f9f3 100644
|
| --- a/components/autofill/core/browser/personal_data_manager.cc
|
| +++ b/components/autofill/core/browser/personal_data_manager.cc
|
| @@ -1058,10 +1058,11 @@ std::string PersonalDataManager::MergeProfile(
|
| }
|
|
|
| // If the new profile was not merged with an existing one, add it to the list.
|
| - if (!matching_profile_found)
|
| + if (!matching_profile_found) {
|
| merged_profiles->push_back(new_profile);
|
| -
|
| - AutofillMetrics::LogAutomaticProfileCreation(!matching_profile_found);
|
| + AutofillMetrics::LogProfileActionOnFormSubmitted(
|
| + AutofillMetrics::NEW_PROFILE_CREATED);
|
| + }
|
|
|
| return guid;
|
| }
|
|
|