Chromium Code Reviews
DescriptionSELECT: Store the suggested value by an HTMLOptionElement pointer instead of an index number.
Managing an OPTION by an index number is a bad idea in general because an index
number is fragile. This CL changes m_suggestedIndex from |int| to
|Member<HTMLOptionElement>|, and fix a bug about OPTION addition and removal.
Committed: https://crrev.com/cf0c390214da2eeaa9407597793fb8f2ff2fda56
Cr-Commit-Position: refs/heads/master@{#403860}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||