Commit d6d3d18c authored by Parastoo Geranmayeh's avatar Parastoo Geranmayeh Committed by Commit Bot

[AF] profiles == should consider primary members

The secondary members should not be considered while comparing
profiles.

Change-Id: I767ea18ab39ed7c5ad6771338aedf39f620bd477
Reviewed-on: https://chromium-review.googlesource.com/c/1357576Reviewed-by: default avatarSebastien Seguin-Gagnon <sebsg@chromium.org>
Reviewed-by: default avatarRoger McFarlane <rogerm@chromium.org>
Commit-Queue: Parastoo Geranmayeh <parastoog@google.com>
Cr-Commit-Position: refs/heads/master@{#612930}
parent ca3373ac
...@@ -1100,8 +1100,6 @@ FormGroup* AutofillProfile::MutableFormGroupForType(const AutofillType& type) { ...@@ -1100,8 +1100,6 @@ FormGroup* AutofillProfile::MutableFormGroupForType(const AutofillType& type) {
bool AutofillProfile::EqualsSansGuid(const AutofillProfile& profile) const { bool AutofillProfile::EqualsSansGuid(const AutofillProfile& profile) const {
return origin() == profile.origin() && return origin() == profile.origin() &&
language_code() == profile.language_code() && language_code() == profile.language_code() &&
is_client_validity_states_updated() ==
profile.is_client_validity_states_updated() &&
Compare(profile) == 0; Compare(profile) == 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment