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

Issue 1886333002: Do not use a persistent reference to store srcObject in HTMLMediaElement. (Closed)

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

Description

Do not use a persistent reference to store srcObject in HTMLMediaElement. The persistent reference could lead to unexpected leaks due to reference cycles. BUG=603493 Committed: https://crrev.com/ecc0efe17c70826d23c9aa5b9e2913eba8899838 Cr-Commit-Position: refs/heads/master@{#387581}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -37 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 4 chunks +4 lines, -4 lines 1 comment Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 10 chunks +13 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/modules/srcobject/HTMLMediaElementSrcObject.cpp View 2 chunks +4 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebMediaPlayerSource.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaPlayerSource.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Guido Urdaneta
In this CL the srcObject is a MediaStreamDescriptor instead of a WebMediaPlayerSource. This eliminates the ...
4 years, 8 months ago (2016-04-15 08:17:21 UTC) #3
haraken
LGTM
4 years, 8 months ago (2016-04-15 09:11:58 UTC) #5
philipj_slow
lgtm
4 years, 8 months ago (2016-04-15 09:57:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886333002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886333002/1
4 years, 8 months ago (2016-04-15 10:32:30 UTC) #8
sof
lgtm https://codereview.chromium.org/1886333002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/1886333002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode115 third_party/WebKit/Source/core/html/HTMLMediaElement.h:115: MediaStreamDescriptor* getSrcObject() const { return m_srcObject.get(); } nit/fyi: ...
4 years, 8 months ago (2016-04-15 10:49:14 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-15 12:15:59 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 12:18:34 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ecc0efe17c70826d23c9aa5b9e2913eba8899838
Cr-Commit-Position: refs/heads/master@{#387581}

Powered by Google App Engine
This is Rietveld 408576698