DescriptionVarious cleanups in VTTRegion
* Eliminate single-use pseudo-id functions (and associated statics)
* Avoid redundant calls to getBoundingClientRect, and use
ClientRect::height where appropriate.
* Allow using ElementTraversal::childrenOf in
VTTRegion::displayLastVTTCueBox by putting a break after
startTimer().
* Get rid of VTTRegion::m_settings and updateParametersFromRegion
(they are not used.)
* Replace 'long' with 'int' for lines, because that matches the
WebIDL type better.
* Remove unused includes (add more specific ones when needed.)
Review-Url: https://codereview.chromium.org/2689703002
Cr-Commit-Position: refs/heads/master@{#449790}
Committed: https://chromium.googlesource.com/chromium/src/+/621d3a7e8220105302d9ceb646463fcdd729625c
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|