• Vadym Doroshenko's avatar
    Using unique WebInput ids instead of WebInput elements. · afc4c45a
    Vadym Doroshenko authored
    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: default avatarVaclav Brozek <vabr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#565623}
    afc4c45a
form_autofill_util.cc 79.7 KB