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

Issue 360323002: MediaSource must use ref-counting to handle pending activity counting. (Closed)

Created:
6 years, 5 months ago by sof
Modified:
6 years, 5 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, blink-reviews-html_chromium.org, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

MediaSource must use ref-counting to handle pending activity counting. Switch MediaSource to deriving from RefCountedGarbageCollected, as ActiveDOMObject::setPendingActivity() relies on ref-counting. R=haraken@chromium.org BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177324

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add missing delegation to MediaSource::trace() #

Patch Set 3 : Revert HTMLMediaElement changes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M Source/modules/mediasource/MediaSource.h View 1 2 1 chunk +4 lines, -2 lines 2 comments Download
M Source/modules/mediasource/MediaSource.cpp View 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
sof
Please take a look. Some mediasource failures seen, https://storage.googleapis.com/chromium-layout-test-archives/WebKit_Linux_Oilpan__dbg_/3396/layout-test-results/results.html
6 years, 5 months ago (2014-07-01 15:50:44 UTC) #1
haraken
I wonder why the current oilpan build is working with GarbageCollectedFinalized<MediaSource>. If MediaSource is using ...
6 years, 5 months ago (2014-07-01 16:02:01 UTC) #2
sof
On 2014/07/01 16:02:01, haraken wrote: > I wonder why the current oilpan build is working ...
6 years, 5 months ago (2014-07-01 16:12:37 UTC) #3
sof
https://codereview.chromium.org/360323002/diff/1/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/360323002/diff/1/Source/core/html/HTMLMediaElement.cpp#newcode392 Source/core/html/HTMLMediaElement.cpp:392: closeMediaSource(); On 2014/07/01 16:02:00, haraken wrote: > > This ...
6 years, 5 months ago (2014-07-01 16:14:11 UTC) #4
haraken
LGTM https://codereview.chromium.org/360323002/diff/40001/Source/modules/mediasource/MediaSource.h File Source/modules/mediasource/MediaSource.h (right): https://codereview.chromium.org/360323002/diff/40001/Source/modules/mediasource/MediaSource.h#newcode134 Source/modules/mediasource/MediaSource.h:134: HTMLMediaElement* m_attachedElement; You might want to address this ...
6 years, 5 months ago (2014-07-01 16:21:00 UTC) #5
sof
https://codereview.chromium.org/360323002/diff/40001/Source/modules/mediasource/MediaSource.h File Source/modules/mediasource/MediaSource.h (right): https://codereview.chromium.org/360323002/diff/40001/Source/modules/mediasource/MediaSource.h#newcode134 Source/modules/mediasource/MediaSource.h:134: HTMLMediaElement* m_attachedElement; On 2014/07/01 16:20:59, haraken wrote: > > ...
6 years, 5 months ago (2014-07-01 16:22:41 UTC) #6
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 5 months ago (2014-07-01 16:24:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/360323002/40001
6 years, 5 months ago (2014-07-01 16:24:45 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-01 17:33:30 UTC) #9
Message was sent while issue was closed.
Change committed as 177324

Powered by Google App Engine
This is Rietveld 408576698