| commit | cf0c390214da2eeaa9407597793fb8f2ff2fda56 | [log] [tgz] |
|---|---|---|
| author | tkent <tkent@chromium.org> | Wed Jul 06 07:11:53 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Wed Jul 06 07:13:35 2016 |
| tree | 4cc089e7b11c4ee388e3399c13151b35b48c6dfa | |
| parent | b6ad54b72c7f8c422c288dd9c8756d2a15f30e53 [diff] |
SELECT: 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. Review-Url: https://codereview.chromium.org/2121083005 Cr-Commit-Position: refs/heads/master@{#403860}