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

Issue 1184373006: Oilpan: add prefinalizer for HTMLMediaElement. (Closed)

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

Description

Oilpan: add prefinalizer for HTMLMediaElement. A prefinalizer is needed for the media element for the case where it is finalized in the same GC as its execution context (Document.) The interaction between the media element and the Document to synchronize load event handling can only safely be done prior to either is swept out and finalized. R= BUG=500352 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197339

Patch Set 1 #

Patch Set 2 : move out a potentially-allocating action from prefinalizer #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -34 lines) Patch
M Source/core/html/HTMLMediaElement.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/html/HTMLMediaElement.cpp View 1 5 chunks +39 lines, -34 lines 3 comments Download

Messages

Total messages: 17 (5 generated)
sof
please take a look. Finalization of this element is not the most straightforward & regular. ...
5 years, 6 months ago (2015-06-17 20:21:46 UTC) #2
haraken
LGTM https://codereview.chromium.org/1184373006/diff/20001/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1184373006/diff/20001/Source/core/html/HTMLMediaElement.cpp#newcode390 Source/core/html/HTMLMediaElement.cpp:390: if (m_closeMediaSourceWhenFinalizing) I guess this hack could be ...
5 years, 6 months ago (2015-06-17 20:29:02 UTC) #4
sof
https://codereview.chromium.org/1184373006/diff/20001/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1184373006/diff/20001/Source/core/html/HTMLMediaElement.cpp#newcode390 Source/core/html/HTMLMediaElement.cpp:390: if (m_closeMediaSourceWhenFinalizing) On 2015/06/17 20:29:02, haraken wrote: > > ...
5 years, 6 months ago (2015-06-17 20:40:46 UTC) #5
haraken
https://codereview.chromium.org/1184373006/diff/20001/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1184373006/diff/20001/Source/core/html/HTMLMediaElement.cpp#newcode390 Source/core/html/HTMLMediaElement.cpp:390: if (m_closeMediaSourceWhenFinalizing) On 2015/06/17 20:40:46, sof wrote: > On ...
5 years, 6 months ago (2015-06-17 20:47:15 UTC) #6
sof
On 2015/06/17 20:47:15, haraken wrote: > https://codereview.chromium.org/1184373006/diff/20001/Source/core/html/HTMLMediaElement.cpp > File Source/core/html/HTMLMediaElement.cpp (right): > > https://codereview.chromium.org/1184373006/diff/20001/Source/core/html/HTMLMediaElement.cpp#newcode390 > ...
5 years, 6 months ago (2015-06-17 20:49:17 UTC) #7
haraken
On 2015/06/17 20:49:17, sof wrote: > On 2015/06/17 20:47:15, haraken wrote: > > > https://codereview.chromium.org/1184373006/diff/20001/Source/core/html/HTMLMediaElement.cpp ...
5 years, 6 months ago (2015-06-17 20:53:07 UTC) #8
sof
On 2015/06/17 20:53:07, haraken wrote: > On 2015/06/17 20:49:17, sof wrote: > > On 2015/06/17 ...
5 years, 6 months ago (2015-06-17 20:58:49 UTC) #9
haraken
On 2015/06/17 20:58:49, sof wrote: > On 2015/06/17 20:53:07, haraken wrote: > > On 2015/06/17 ...
5 years, 6 months ago (2015-06-17 21:22:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184373006/20001
5 years, 6 months ago (2015-06-18 05:14:36 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/59426)
5 years, 6 months ago (2015-06-18 06:57:25 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184373006/20001
5 years, 6 months ago (2015-06-18 09:50:54 UTC) #16
commit-bot: I haz the power
5 years, 6 months ago (2015-06-18 10:56:42 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197339

Powered by Google App Engine
This is Rietveld 408576698