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

Issue 952493002: Simplify HTMLMediaElement::textTrackModeChanged (Closed)

Created:
5 years, 10 months ago by fs
Modified:
5 years, 10 months ago
Reviewers:
philipj_slow
CC:
blink-reviews, nessy, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, blink-reviews-html_chromium.org, vcarbune.chromium
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Simplify HTMLMediaElement::textTrackModeChanged The if-"cascade" that dominates this method does two things: * Schedules (adds) cues to the cue timeline * Marks tracks originating from HTMLTrackElement as 'configured'. If these two are separated, the former can be moved to the caller of textTrackModeChanged (TextTrack::setMode) - and simplified significantly. With this HTMLMediaElement no longer calls CueTimeline::addCues itself. BUG=321654 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190848

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -26 lines) Patch
M Source/core/html/HTMLMediaElement.cpp View 1 chunk +3 lines, -26 lines 2 comments Download
M Source/core/html/track/TextTrack.cpp View 1 chunk +5 lines, -0 lines 2 comments Download

Messages

Total messages: 8 (2 generated)
fs
5 years, 10 months ago (2015-02-23 15:03:10 UTC) #2
fs
Ping. This shouldn't be too difficult ;-)
5 years, 10 months ago (2015-02-25 13:11:52 UTC) #3
philipj_slow
Sorry, I must have marked this as read by mistake. LGTM with questions revealing my ...
5 years, 10 months ago (2015-02-25 15:52:14 UTC) #4
fs
https://codereview.chromium.org/952493002/diff/1/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (left): https://codereview.chromium.org/952493002/diff/1/Source/core/html/HTMLMediaElement.cpp#oldcode1171 Source/core/html/HTMLMediaElement.cpp:1171: // If this is the first added track, create ...
5 years, 10 months ago (2015-02-25 16:26:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/952493002/1
5 years, 10 months ago (2015-02-25 16:40:38 UTC) #7
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 18:37:37 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190848

Powered by Google App Engine
This is Rietveld 408576698