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

Issue 54963004: Make LoadableTextTrack::clearClient not virtual (Closed)

Created:
7 years, 1 month ago by philipj_slow
Modified:
7 years, 1 month ago
Reviewers:
Nate Chapin
CC:
blink-reviews, dglazkov+blink, nessy, vcarbune.chromium, philipj_slow, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Make LoadableTextTrack::clearClient not virtual When TextTrack::clearClient and LoadableTextTrack::clearClient were added in r99984, both had the virtual keyword and nothing seemed odd. In r135410 the virtual keyword was dropped from TextTrack::clearClient because "it is unnecessary", but LoadableTextTrack::clearClient was left virtual even though it now shadowed (instead of overriding) TextTrack. The HTMLTrackElement destructor calls LoadableTextTrack::clearClient, so there's no risk of LoadableTextTrack::m_trackElement becoming stale. It would be nice to sort this out even more, perhaps by refactoring LoadableTextTrack into a TextTrackCueProvider or something that doesn't inherit from TextTrack, but until then add a comment to calm the reader. BUG=313287 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161197

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M Source/core/html/track/LoadableTextTrack.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
philipj_slow
7 years, 1 month ago (2013-11-01 14:04:01 UTC) #1
Nate Chapin
lgtm
7 years, 1 month ago (2013-11-01 16:22:04 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/54963004/1
7 years, 1 month ago (2013-11-01 19:46:45 UTC) #3
commit-bot: I haz the power
7 years, 1 month ago (2013-11-01 20:44:38 UTC) #4
Message was sent while issue was closed.
Change committed as 161197

Powered by Google App Engine
This is Rietveld 408576698