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 9ad41cab9b9535c4668ded28545233d652d98490..1d4173e592564b7f0d24937d8cbc9d994ddbea25 100644 |
--- a/components/autofill/core/browser/personal_data_manager.cc |
+++ b/components/autofill/core/browser/personal_data_manager.cc |
@@ -400,7 +400,7 @@ void PersonalDataManager::UpdateProfile(const AutofillProfile& profile) { |
return; |
// Don't overwrite the origin for a profile that is already stored. |
- if (existing_profile->Compare(profile) == 0) |
+ if (existing_profile->EqualsSansOrigin(profile)) |
return; |
if (profile.IsEmpty(app_locale_)) { |