commit | 0537a6d11bf2ebefcf90fbfec7081e37ef78081a | [log] [tgz] |
---|---|---|
author | fs <fs@opera.com> | Mon May 16 13:38:42 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon May 16 13:40:24 2016 |
tree | 6a9ae2478dbf4bea7c3c3f5a89c5fe701133d615 | |
parent | 01bd400bd56982ab1e1130eda099dec47d7a3242 [diff] |
Simplify LoadableTextTrack::trackElementIndex Count preceding sibling <track> elements in a more straight-forward way. Also clean-up null-checks of m_trackElement while here (should be non- null on construction and then keeps a strong reference.) Review-Url: https://codereview.chromium.org/1980013002 Cr-Commit-Position: refs/heads/master@{#393825}