Hi Chris, PTAL. This is the https://chromium-review.googlesource.com/c/chromium/src/+/6618748 change behind the kill switch.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi Dominic, could you review `c/a/b/form_data_android.cc`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[Autofill] Replace SameFieldAs with FormFieldData::DeepEqual
This CL replaces all calls of the deprecated `SameFieldAs` with
`FormFieldData::DeepEqual`. This change is introduced behind a kill
switch.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (base::FeatureList::IsEnabled(
features::kAutofillUseDeepEqualInsteadOfSameFieldAs)
? FormFieldData::DeepEqual(form_.fields()[i], field)
: form_.fields()[i].SameFieldAs(field)) {What about just comparing global ids here instead of the whole equality function?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (base::FeatureList::IsEnabled(
features::kAutofillUseDeepEqualInsteadOfSameFieldAs)
? FormFieldData::DeepEqual(form_.fields()[i], field)
: form_.fields()[i].SameFieldAs(field)) {What about just comparing global ids here instead of the whole equality function?
I am not very into this logic, but sounds good from the high level. +cc @schw...@google.com
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |