[Autofill] Migrated AutofillAgent::submitted_forms_ to unique renderer IDs.
This CL turns AutofillAgent::submitted_forms_ from a std::set<FormData> with custom comparator into a set of renderer IDs. The sole purpose of this set is to avoid duplicate submission events per form. Unique renderer IDs suffice for this. And since the comparator used before this CL was generally not sound (false positives), this at least theoretically solves some missing form-submission bugs. Bug: 896689, 1007974 Change-Id: I8fab1ee692c26c26b2cc061b0045b9757820b553 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2297527Reviewed-by:Matthias Körber <koerber@google.com> Commit-Queue: Christoph Schwering <schwering@google.com> Cr-Commit-Position: refs/heads/master@{#788794}
Showing
Please register or sign in to comment