Using unique WebInput ids instead of WebInput elements.
Password Manager keeps the map from WebFormControlElement to last non-JavaScript value in FieldValueAndPropertiesMaskMap. That's bad from memory consumption perspective since it keeps input elements in memory even if they were removed from DOM (and WebFormControlElement keep s whole WebForm). Now we have reliable mechanism - unique renderer ids, which might be used instead of WebFormControlElement. This CL replaces usages of WebFormControlElement with unique renderer ids. Also this CL contains small clean-up in password_autofill_agent.h: removing not used typedef and typedef to using conversion. Bug: 831123, 734427 Change-Id: I12a7b53859fccb9c5398997c61250ccf1a4f5c89 Reviewed-on: https://chromium-review.googlesource.com/1085460 Commit-Queue: Vadym Doroshenko <dvadym@chromium.org> Reviewed-by:Vaclav Brozek <vabr@chromium.org> Cr-Commit-Position: refs/heads/master@{#565623}
Showing
Please register or sign in to comment