Chromium Code Reviews
DescriptionSELECT element: Remove HTMLSelectElement::optionToListIndex().
Remove two instances of optionToListIndex() callsites, and remove
optionToListIndex().
* HTMLSelectElement::hasPlaceholderLabelOption():
optionToListIndex() was just redundant. We need to check just
isHTMLOptionElement(listItems()[0]).
* HTMLSelectElement::remove():
We can use item() to get an OPTION at the specified index.
This CL has no behavior changes.
Committed: https://crrev.com/8f6281da70545e44a3445840e05a24ae79498e8f
Cr-Commit-Position: refs/heads/master@{#405690}
Patch Set 1 #
Messages
Total messages: 14 (8 generated)
|
||||||||||||||||||||||||||||