commit | 779fe0dbc0389539911b1ba37e3cca2912d39bd2 | [log] [tgz] |
---|---|---|
author | Jihad Hanna <jihadghanna@google.com> | Mon Jan 22 17:39:18 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 22 17:39:18 2024 |
tree | 7e772af667ee36a787b30fd3f969dc4bf81ff395 | |
parent | d538e4d522d617462cb67d99377c308c7ae7bece [diff] |
Optimize cache lookups in UndoAutofillImpl Previously every cache lookup for a field used to use BAM::GetAutofilField which looks for the form then for the field in the list of forms. This CL optimizes this by creating a map and populating it one time. Bug: 1505741 Change-Id: I94c7420757dff0ac80af58d16dc0db05e898e335 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5210873 Commit-Queue: Jihad Hanna <jihadghanna@google.com> Reviewed-by: Florian Leimgruber <fleimgruber@google.com> Cr-Commit-Position: refs/heads/main@{#1250259}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.