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 cc4e56dd6a07782613619c91270df1c72f1e561e..f53654878eb4b556cd85c0da7be034cc4f8236f9 100644 |
--- a/components/autofill/core/browser/personal_data_manager.cc |
+++ b/components/autofill/core/browser/personal_data_manager.cc |
@@ -1059,10 +1059,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; |
} |