commit | be87bc4d529bc98530209e97f61049707c8d5224 | [log] [tgz] |
---|---|---|
author | Nektarios Paisios <nektar@chromium.org> | Fri Oct 12 23:47:03 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 12 23:47:03 2018 |
tree | 298504a28946e7eb0afe1e5f45e7aa2ee939e847 | |
parent | f5567215a83b10ec0aa067a1de506dbc486526b2 [diff] |
Modifies setters in AXNodeData to remove the attribute when set to None 1. Alphabetized all getters and setters in AXNodeData. 2. Setters in AXNodeData such as SetRestriction and SetTextDirection will now first check if the value is already set and remove it if so. This will hopefully fix some of the duplicate values we have been seeing in the various attribute vectors. Ultimately we would want to switch to using sets instead of vectors. 3. Changed to using base::EraseIf from base/stl_util. R=aleventhal@chromium.org, dmazzoni@chromium.org Also: Change-Id: Ib558d34e801a070d6b7f9d39680571030a8792cb Reviewed-on: https://chromium-review.googlesource.com/c/1269078 Commit-Queue: Nektarios Paisios <nektar@chromium.org> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#599421}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .