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

Issue 50903009: Remove virtual where not needed in TextTrackCue (Closed)

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

Description

Remove virtual where not needed in TextTrackCue Remove TextTrackCue::cueType() since it always returned CueType::WebVTT and was never overriden. CueType::Generic was for TextTrackCueGeneric which was removed in r158977. Remove TextTrackCue::videoSizeDidChange(...) since it did nothing and was never overridden. This looks like unfinished logic for moving cues when the controls are shown and hidden, and could be revived in <http://crbug.com/314066>;. BUG=313287 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161172

Patch Set 1 #

Patch Set 2 : make it compile #

Patch Set 3 : wrong about applyCSSProperties #

Total comments: 2

Patch Set 4 : Add FINAL to TextTrackCueBox #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -30 lines) Patch
M Source/core/html/shadow/MediaControlElements.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/html/track/TextTrackCue.h View 1 2 3 4 chunks +7 lines, -15 lines 0 comments Download
M Source/core/html/track/TextTrackCue.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderTextTrackCue.cpp View 1 1 chunk +4 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
philipj_slow
7 years, 1 month ago (2013-10-31 22:04:34 UTC) #1
philipj_slow
I was wrong about applyCSSProperties, fixed that now...
7 years, 1 month ago (2013-11-01 08:32:12 UTC) #2
vcarbune.chromium
On 2013/11/01 08:32:12, philipj wrote: > I was wrong about applyCSSProperties, fixed that now... LGTM, ...
7 years, 1 month ago (2013-11-01 08:44:00 UTC) #3
vcarbune.chromium
https://codereview.chromium.org/50903009/diff/70001/Source/core/html/track/TextTrackCue.h File Source/core/html/track/TextTrackCue.h (left): https://codereview.chromium.org/50903009/diff/70001/Source/core/html/track/TextTrackCue.h#oldcode52 Source/core/html/track/TextTrackCue.h:52: class TextTrackCueBox : public HTMLDivElement { Add FINAL to ...
7 years, 1 month ago (2013-11-01 09:55:37 UTC) #4
philipj_slow
https://codereview.chromium.org/50903009/diff/70001/Source/core/html/track/TextTrackCue.h File Source/core/html/track/TextTrackCue.h (left): https://codereview.chromium.org/50903009/diff/70001/Source/core/html/track/TextTrackCue.h#oldcode52 Source/core/html/track/TextTrackCue.h:52: class TextTrackCueBox : public HTMLDivElement { On 2013/11/01 09:55:37, ...
7 years, 1 month ago (2013-11-01 11:39:25 UTC) #5
Mike West
LGTM, but please add some detail to the CL description about what code you're removing ...
7 years, 1 month ago (2013-11-01 14:15:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/50903009/190001
7 years, 1 month ago (2013-11-01 14:34:18 UTC) #7
commit-bot: I haz the power
7 years, 1 month ago (2013-11-01 16:02:48 UTC) #8
Message was sent while issue was closed.
Change committed as 161172

Powered by Google App Engine
This is Rietveld 408576698