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

Issue 1973863003: Implement SetWrapperReferenceFrom idl attribute within traceWrappers for media tracks (Closed)

Created:
4 years, 7 months ago by Marcel Hlopko
Modified:
4 years, 7 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement SetWrapperReferenceFrom idl attribute within traceWrappers for media tracks SetWrapperReferenceFrom(param) idl attribute denotes that when a <param> object is alive, current object should be kept alive too. To implement the same logic using tracing, we need to find a path from <param> object to the current object. For the media tracks, HTMLMediaElement has to trace its track lists, and lists have to track their elements. Audio and Video tracklists and tracks are tested in media/avtrack/gc.html. TextTrackList, TextTrack, and VTTCue are tested in media/track/track-cue-gc-wrapper.html. Follow status of tracing SetWrapperReferenceFrom here: https://docs.google.com/a/google.com/spreadsheets/d/1HY7Flx2TTyWIi9S2efRWMG2nRl84E7UB2t7dx_b5K00/edit?usp=sharing LOG=no BUG=468240 Committed: https://crrev.com/3b6f13e00cd8cd441b8f7518f02266dc46ff4888 Cr-Commit-Position: refs/heads/master@{#393282}

Patch Set 1 #

Patch Set 2 : Add tests #

Total comments: 2

Patch Set 3 : Remove unnecessary tracing #

Messages

Total messages: 11 (5 generated)
Marcel Hlopko
Ptal
4 years, 7 months ago (2016-05-12 15:57:11 UTC) #3
haraken
LGTM with a comment. https://codereview.chromium.org/1973863003/diff/20001/third_party/WebKit/Source/core/html/track/TextTrack.cpp File third_party/WebKit/Source/core/html/track/TextTrack.cpp (right): https://codereview.chromium.org/1973863003/diff/20001/third_party/WebKit/Source/core/html/track/TextTrack.cpp#newcode497 third_party/WebKit/Source/core/html/track/TextTrack.cpp:497: EventTargetWithInlineData::traceWrappers(visitor); I don't think we ...
4 years, 7 months ago (2016-05-12 16:02:54 UTC) #4
Marcel Hlopko
https://codereview.chromium.org/1973863003/diff/20001/third_party/WebKit/Source/core/html/track/TextTrack.cpp File third_party/WebKit/Source/core/html/track/TextTrack.cpp (right): https://codereview.chromium.org/1973863003/diff/20001/third_party/WebKit/Source/core/html/track/TextTrack.cpp#newcode497 third_party/WebKit/Source/core/html/track/TextTrack.cpp:497: EventTargetWithInlineData::traceWrappers(visitor); You are correct. Removing. There really isn't that ...
4 years, 7 months ago (2016-05-12 16:15:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973863003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1973863003/40001
4 years, 7 months ago (2016-05-12 16:16:27 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-12 17:29:26 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 17:31:08 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3b6f13e00cd8cd441b8f7518f02266dc46ff4888
Cr-Commit-Position: refs/heads/master@{#393282}

Powered by Google App Engine
This is Rietveld 408576698