DescriptionSELECT 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.
Committed: https://crrev.com/c97868e41b5ad5c2d12a5520f4e554d3fdeb177e
Cr-Commit-Position: refs/heads/master@{#405508}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|