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

Issue 790973002: Use event init dictionary in core/html/track (Closed)

Created:
6 years ago by bashi
Modified:
6 years ago
Reviewers:
haraken, philipj_slow
CC:
blink-reviews, nessy, arv+blink, philipj_slow, gasubic, fs, eric.carlson_apple.com, blink-reviews-html_chromium.org, dglazkov+blink, Inactive, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@union-includes
Project:
blink
Visibility:
Public.

Description

Use event init dictionary in core/html/track This CL replaces manually-written TrackEventInit with IDL dictionary. This CL also adds a constructor which takes a RefPtr to subclasses of TrackBase. This constructor is used to bypass TrackEventInit creation. Tests under media/track and fast/events/constructors/track-event-constructor.html cover this change. BUG=433179 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186845

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -32 lines) Patch
M LayoutTests/fast/events/constructors/track-event-constructor-expected.txt View 1 chunk +7 lines, -7 lines 0 comments Download
M Source/core/core.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/html/track/TextTrackList.cpp View 1 chunk +1 line, -6 lines 0 comments Download
M Source/core/html/track/TrackEvent.h View 3 chunks +13 lines, -6 lines 0 comments Download
M Source/core/html/track/TrackEvent.cpp View 1 1 chunk +12 lines, -6 lines 0 comments Download
M Source/core/html/track/TrackEvent.idl View 1 chunk +2 lines, -2 lines 0 comments Download
A Source/core/html/track/TrackEventInit.idl View 1 chunk +9 lines, -0 lines 0 comments Download
M Source/core/html/track/TrackListBase.h View 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
haraken
LGTM
6 years ago (2014-12-10 04:49:16 UTC) #2
philipj_slow
LGTM with nit https://codereview.chromium.org/790973002/diff/20001/Source/core/html/track/TrackEvent.cpp File Source/core/html/track/TrackEvent.cpp (right): https://codereview.chromium.org/790973002/diff/20001/Source/core/html/track/TrackEvent.cpp#newcode46 Source/core/html/track/TrackEvent.cpp:46: if (track.isAudioTrack()) I'm guessing the compiler ...
6 years ago (2014-12-10 08:22:49 UTC) #5
bashi
Thank you for reviews! I was about to ask for reviews:) https://codereview.chromium.org/790973002/diff/20001/Source/core/html/track/TrackEvent.cpp File Source/core/html/track/TrackEvent.cpp (right): ...
6 years ago (2014-12-10 08:45:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/790973002/40001
6 years ago (2014-12-10 08:47:38 UTC) #8
commit-bot: I haz the power
6 years ago (2014-12-10 11:32:24 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186845

Powered by Google App Engine
This is Rietveld 408576698