Reland: Fix a leak of a document that is held by AutofillAgent
This CL is just relanding https://chromium-review.googlesource.com/c/chromium/src/+/597482, after confirming that there are no statistical significant regressions in the real world by Finch experiments (crbug.com/755489). Note that this might still cause Telemetry regressions reported at crbug.com/753071 before, but this is expected. A document is leaked because AutofillAgent hold a lastly used element even after navigation happens, and the document of the element remains until a new (input) element is focused. This CL fixes this issue by resetting the element in AutofillAgent when navigation happens. Bug: 734427, 755489 Change-Id: Ie3ee7f202abf56e22102e3d7f68cf2778f85ca87 Reviewed-on: https://chromium-review.googlesource.com/908371 Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#539105}
Showing
Please register or sign in to comment