| commit | c97868e41b5ad5c2d12a5520f4e554d3fdeb177e | [log] [tgz] |
|---|---|---|
| author | tkent <tkent@chromium.org> | Thu Jul 14 17:08:35 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Thu Jul 14 17:12:27 2016 |
| tree | b660522fd659d1a2b8927ad324a4ca86e44d99f8 | |
| parent | 5897d75b89294c388df2ec16b7519ecd635cc148 [diff] |
SELECT element: Add HTMLSelectElement::selectedListIndex(). We had multiple instances of |optionToListIndex(selectedIndex())|, which causes two iterations over OPTIONs. selectedListIndex() returns the same value, but is more efficient. Review-Url: https://codereview.chromium.org/2149763003 Cr-Commit-Position: refs/heads/master@{#405508}