Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Issue 2689703002: Various cleanups in VTTRegion (Closed)

Created:
3 years, 10 months ago by fs
Modified:
3 years, 10 months ago
Reviewers:
foolip
CC:
fs, blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, gasubic, nessy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Various 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -51 lines) Patch
M third_party/WebKit/Source/core/html/track/vtt/VTTRegion.h View 4 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp View 9 chunks +11 lines, -42 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
fs
Some (simple) stuff I noticed while visiting this code...
3 years, 10 months ago (2017-02-10 15:45:38 UTC) #4
foolip
lgtm
3 years, 10 months ago (2017-02-10 23:34:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2689703002/1
3 years, 10 months ago (2017-02-10 23:34:54 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 23:43:52 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/621d3a7e8220105302d9ceb64646...

Powered by Google App Engine
This is Rietveld 408576698