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

Issue 1815033003: Add srcObject attribute of type MediaStream to HTMLMediaElement. (Closed)

Created:
4 years, 9 months ago by Guido Urdaneta
Modified:
4 years, 8 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, hta - Chromium, kinuko+watch, mlamouri+watch-blink_chromium.org, philipj_slow, nessy, tommyw+watchlist_chromium.org, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add srcObject attribute of type MediaStream to HTMLMediaElement. Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/D20_5X-2nCk BUG=387740 Committed: https://crrev.com/9bfe4e2f473b01d5039dd31c9b04cc8c78ff5c70 Cr-Commit-Position: refs/heads/master@{#386294}

Patch Set 1 #

Patch Set 2 : Fix compile error #

Patch Set 3 : Fix test #

Patch Set 4 : another change to test #

Patch Set 5 : Fix listing tests #

Total comments: 8

Patch Set 6 : haraken's comments + extra test #

Total comments: 9

Patch Set 7 : Moved partial interface to modules/srcobject #

Patch Set 8 : Implementation without URL #

Patch Set 9 : rebase #

Patch Set 10 : #

Patch Set 11 : fix webmediaplayer_android #

Patch Set 12 : Fix android compile issue #

Total comments: 4

Patch Set 13 : Extract MediaStream from WebMediaStream. Remove supplement. #

Patch Set 14 : make HTMLMediaElementSrcObject noncopyable and remove unnecessary includes #

Patch Set 15 : use correct macro to enfore static methods only #

Total comments: 4

Patch Set 16 : wolenetz comments #

Total comments: 1

Patch Set 17 : rebase + tommi's comment #

Total comments: 6

Patch Set 18 : hta's comments #

Patch Set 19 : fix condition #

Total comments: 50

Patch Set 20 : philipj comments and rebase #

Patch Set 21 : fix android and tests #

Total comments: 9

Patch Set 22 : philipj's comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+553 lines, -158 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/renderer/media_stream_renderer_factory.h View 1 2 3 4 5 6 7 4 chunks +6 lines, -3 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +5 lines, -1 line 0 comments Download
M content/renderer/media/html_video_element_capturer_source_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/media_stream_renderer_factory_impl.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/media_stream_renderer_factory_impl.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -9 lines 0 comments Download
A content/renderer/media/web_media_element_source_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +23 lines, -0 lines 0 comments Download
A content/renderer/media/web_media_element_source_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +26 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +15 lines, -12 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_compositor.h View 1 2 3 4 5 6 7 4 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_compositor.cc View 1 2 3 4 5 6 7 5 chunks +5 lines, -6 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +6 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +10 lines, -4 lines 0 comments Download
M content/shell/renderer/layout_test/test_media_stream_renderer_factory.h View 1 2 3 4 5 6 7 3 chunks +2 lines, -3 lines 0 comments Download
M content/shell/renderer/layout_test/test_media_stream_renderer_factory.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -8 lines 0 comments Download
M media/blink/webmediaplayer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +6 lines, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/media/video-move-to-new-document-srcobject.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +4 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/media/video-srcobject-mediastream.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +37 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/element-instance-property-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +8 lines, -2 lines 2 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 11 chunks +136 lines, -80 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElementTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderClient.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStream.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStream.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/srcobject/HTMLMediaElementSrcObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/srcobject/HTMLMediaElementSrcObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/srcobject/HTMLMediaElementSrcObject.idl View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/modules/srcobject/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/exported/WebMediaPlayerSource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +53 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/public/blink_headers.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaPlayer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -1 line 0 comments Download
A third_party/WebKit/public/platform/WebMediaPlayerSource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +36 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 50 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815033003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815033003/20001
4 years, 9 months ago (2016-03-18 12:27:49 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815033003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815033003/80001
4 years, 9 months ago (2016-03-18 13:22:38 UTC) #4
Guido Urdaneta
Hi, PTAL
4 years, 9 months ago (2016-03-18 14:17:16 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-18 14:33:23 UTC) #9
haraken
https://codereview.chromium.org/1815033003/diff/80001/third_party/WebKit/Source/modules/mediastream/HTMLMediaElementMediaStream.cpp File third_party/WebKit/Source/modules/mediastream/HTMLMediaElementMediaStream.cpp (right): https://codereview.chromium.org/1815033003/diff/80001/third_party/WebKit/Source/modules/mediastream/HTMLMediaElementMediaStream.cpp#newcode1 third_party/WebKit/Source/modules/mediastream/HTMLMediaElementMediaStream.cpp:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 9 months ago (2016-03-18 23:37:40 UTC) #11
Guido Urdaneta
https://codereview.chromium.org/1815033003/diff/80001/third_party/WebKit/Source/modules/mediastream/HTMLMediaElementMediaStream.cpp File third_party/WebKit/Source/modules/mediastream/HTMLMediaElementMediaStream.cpp (right): https://codereview.chromium.org/1815033003/diff/80001/third_party/WebKit/Source/modules/mediastream/HTMLMediaElementMediaStream.cpp#newcode1 third_party/WebKit/Source/modules/mediastream/HTMLMediaElementMediaStream.cpp:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 9 months ago (2016-03-20 12:16:30 UTC) #12
philipj_slow
https://codereview.chromium.org/1815033003/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/1815033003/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode111 third_party/WebKit/Source/core/html/HTMLMediaElement.h:111: void setSrcObjectURL(const AtomicString&); Rather than using an object URL, ...
4 years, 9 months ago (2016-03-21 11:13:13 UTC) #13
Guido Urdaneta
https://codereview.chromium.org/1815033003/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/1815033003/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode111 third_party/WebKit/Source/core/html/HTMLMediaElement.h:111: void setSrcObjectURL(const AtomicString&); On 2016/03/21 11:13:13, philipj_UTC7 wrote: > ...
4 years, 9 months ago (2016-03-21 16:34:53 UTC) #14
philipj_slow
https://codereview.chromium.org/1815033003/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/1815033003/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode111 third_party/WebKit/Source/core/html/HTMLMediaElement.h:111: void setSrcObjectURL(const AtomicString&); On 2016/03/21 16:34:53, Guido Urdaneta wrote: ...
4 years, 9 months ago (2016-03-22 16:06:54 UTC) #15
Guido Urdaneta
Hi, PTAL https://codereview.chromium.org/1815033003/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/1815033003/diff/100001/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode111 third_party/WebKit/Source/core/html/HTMLMediaElement.h:111: void setSrcObjectURL(const AtomicString&); On 2016/03/22 16:06:54, philipj_UTC7 ...
4 years, 9 months ago (2016-03-24 14:38:44 UTC) #16
philipj_slow
I'll be OOO until Tuesday, but maybe you will too :)
4 years, 9 months ago (2016-03-24 17:43:33 UTC) #17
philipj_slow
Can you add some reviewers for everything outside third_party/WebKit/ to get that started?
4 years, 8 months ago (2016-03-29 13:28:50 UTC) #18
philipj_slow
I haven't looked very closely at HTMLMediaElement yet. https://codereview.chromium.org/1815033003/diff/220001/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/1815033003/diff/220001/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode360 third_party/WebKit/Source/core/html/HTMLMediaElement.h:360: void ...
4 years, 8 months ago (2016-03-29 13:43:19 UTC) #19
Guido Urdaneta
tommi@chromium.org: Please review changes in content/renderer/media jochen@chromium.org: Please review changes in content/public, content/shell and content/renderer ...
4 years, 8 months ago (2016-03-29 13:45:17 UTC) #21
Guido Urdaneta
https://codereview.chromium.org/1815033003/diff/220001/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/1815033003/diff/220001/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode360 third_party/WebKit/Source/core/html/HTMLMediaElement.h:360: void loadResource(ContentType&); On 2016/03/29 13:43:19, philipj_UTC7 wrote: > Can ...
4 years, 8 months ago (2016-03-29 14:48:11 UTC) #22
wolenetz
blink/media mostly looking good % nit. Note, you'll also need to update content/renderer/media/android/webmediaplayer_android.{h,cc} ("WMPA") My ...
4 years, 8 months ago (2016-03-31 19:35:27 UTC) #23
Guido Urdaneta
wolenetz: note that changes to WMPA were already in the CL. Can you also review ...
4 years, 8 months ago (2016-04-01 12:14:57 UTC) #24
tommi (sloooow) - chröme
lgtm for content/renderer/media https://codereview.chromium.org/1815033003/diff/300001/content/renderer/media/web_media_element_source_utils.cc File content/renderer/media/web_media_element_source_utils.cc (right): https://codereview.chromium.org/1815033003/diff/300001/content/renderer/media/web_media_element_source_utils.cc#newcode18 content/renderer/media/web_media_element_source_utils.cc:18: if (source.isURL()) nit: {}
4 years, 8 months ago (2016-04-01 13:20:40 UTC) #27
Guido Urdaneta
+xhwang xhwang: can you take a look at content/rendere/media/webmediaplayer_ms.cc lines 134 and 135? You recently ...
4 years, 8 months ago (2016-04-01 14:17:34 UTC) #29
hta - Chromium
Added a few comments on layout tests. https://codereview.chromium.org/1815033003/diff/320001/third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html File third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html (right): https://codereview.chromium.org/1815033003/diff/320001/third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html#newcode24 third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html:24: function playingFileOnce() ...
4 years, 8 months ago (2016-04-01 15:08:15 UTC) #31
Guido Urdaneta
https://codereview.chromium.org/1815033003/diff/320001/third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html File third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html (right): https://codereview.chromium.org/1815033003/diff/320001/third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html#newcode24 third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html:24: function playingFileOnce() On 2016/04/01 15:08:15, hta - Chromium wrote: ...
4 years, 8 months ago (2016-04-02 18:32:52 UTC) #32
philipj_slow
Looks like we're on the right track, please see comments. The new module needs an ...
4 years, 8 months ago (2016-04-06 11:58:42 UTC) #33
Guido Urdaneta
https://codereview.chromium.org/1815033003/diff/360001/third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html File third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html (right): https://codereview.chromium.org/1815033003/diff/360001/third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html#newcode5 third_party/WebKit/LayoutTests/media/video-srcobject-mediastream-src-file.html:5: <div id="log"></div> On 2016/04/06 11:58:41, philipj wrote: > You ...
4 years, 8 months ago (2016-04-06 16:34:55 UTC) #34
philipj_slow
third_party/WebKit/ LGTM % a few questions and nits. https://codereview.chromium.org/1815033003/diff/360001/third_party/WebKit/LayoutTests/media/video-srcobject-mediastream.html File third_party/WebKit/LayoutTests/media/video-srcobject-mediastream.html (right): https://codereview.chromium.org/1815033003/diff/360001/third_party/WebKit/LayoutTests/media/video-srcobject-mediastream.html#newcode22 third_party/WebKit/LayoutTests/media/video-srcobject-mediastream.html:22: stream ...
4 years, 8 months ago (2016-04-07 15:38:11 UTC) #35
jochen (gone - plz use gerrit)
everything in content outside of media/ lgtm
4 years, 8 months ago (2016-04-08 02:22:35 UTC) #36
Guido Urdaneta
https://codereview.chromium.org/1815033003/diff/360001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1815033003/diff/360001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode627 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:627: if (m_networkState == NETWORK_EMPTY && (!getAttribute(srcAttr).isEmpty() || m_source.isMediaProviderObject())) { ...
4 years, 8 months ago (2016-04-08 10:58:47 UTC) #37
Guido Urdaneta
wolenetz@: friendly ping for media/
4 years, 8 months ago (2016-04-08 11:00:15 UTC) #38
philipj_slow
https://codereview.chromium.org/1815033003/diff/400001/third_party/WebKit/Source/platform/exported/WebMediaPlayerSource.cpp File third_party/WebKit/Source/platform/exported/WebMediaPlayerSource.cpp (right): https://codereview.chromium.org/1815033003/diff/400001/third_party/WebKit/Source/platform/exported/WebMediaPlayerSource.cpp#newcode43 third_party/WebKit/Source/platform/exported/WebMediaPlayerSource.cpp:43: bool WebMediaPlayerSource::isMediaProviderObject() const On 2016/04/08 10:58:47, Guido Urdaneta wrote: ...
4 years, 8 months ago (2016-04-08 12:49:31 UTC) #39
wolenetz
media/ lgtm
4 years, 8 months ago (2016-04-08 23:10:06 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815033003/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815033003/420001
4 years, 8 months ago (2016-04-09 07:12:32 UTC) #43
commit-bot: I haz the power
Patchset 22 (id:??) landed as https://crrev.com/9bfe4e2f473b01d5039dd31c9b04cc8c78ff5c70 Cr-Commit-Position: refs/heads/master@{#386294}
4 years, 8 months ago (2016-04-09 08:32:38 UTC) #45
commit-bot: I haz the power
Failed to apply the patch.
4 years, 8 months ago (2016-04-09 08:32:42 UTC) #46
sof
https://codereview.chromium.org/1815033003/diff/420001/third_party/WebKit/Source/core/html/HTMLMediaElement.h File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right): https://codereview.chromium.org/1815033003/diff/420001/third_party/WebKit/Source/core/html/HTMLMediaElement.h#newcode495 third_party/WebKit/Source/core/html/HTMLMediaElement.h:495: WebMediaPlayerSource m_srcObject; This value object contains a WebMediaStream, which ...
4 years, 8 months ago (2016-04-12 18:40:22 UTC) #49
Guido Urdaneta
4 years, 8 months ago (2016-04-12 21:38:55 UTC) #50
Message was sent while issue was closed.
https://codereview.chromium.org/1815033003/diff/420001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/html/HTMLMediaElement.h (right):

https://codereview.chromium.org/1815033003/diff/420001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/html/HTMLMediaElement.h:495: WebMediaPlayerSource
m_srcObject;
On 2016/04/12 18:40:22, sof wrote:
> This value object contains a WebMediaStream, which in turn contains a
> WebPrivatePtr<MediaStreamDescriptor> (a persistent) -- have this been verified
> not to hold on to too much? i.e., that there isn't a cycle back to
> HTMLMediaElement somehow via that WebPrivatePtr<>.

I don't think there are any cycles, but I will replace the persistent reference
in an upcoming CL to avoid future problems.

Powered by Google App Engine
This is Rietveld 408576698