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

Issue 2484973005: [Blink, RemotePlaybackAPI] Create WebRemotePlaybackClient in HTMLMediaElement ctor to avoid lazy in… (Closed)

Created:
4 years, 1 month ago by whywhat
Modified:
4 years, 1 month ago
Reviewers:
haraken
CC:
blink-reviews, blink-reviews-html_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dglazkov+blink, dshwang, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gavinp+loader_chromium.org, gasubic, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, mlamouri+watch-blink_chromium.org, nessy, Srirama, tyoshino+watch_chromium.org, vcarbune.chromium
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Blink, RemotePlaybackAPI] Create WebRemotePlaybackClient in HTMLMediaElement ctor to avoid lazy initialization issues Split off from https://codereview.chromium.org/2480003002 to make it smaller. BUG=None TEST=existing tests CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/1775f467005c76d7b432fb59e25843931f9c52cf Cr-Commit-Position: refs/heads/master@{#430864}

Patch Set 1 #

Patch Set 2 : Fixed compile for EmptyClients.cpp #

Total comments: 2

Patch Set 3 : Removed m_scriptState from RemotePlayback #

Total comments: 2

Patch Set 4 : Removed <v8.h> from HTMLMediaElement.cpp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -57 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderClient.h View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp View 1 2 5 chunks +13 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.idl View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlaybackTest.cpp View 1 2 11 chunks +16 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
whywhat
Fixed compile for EmptyClients.cpp
4 years, 1 month ago (2016-11-08 22:26:42 UTC) #2
whywhat
PTaL
4 years, 1 month ago (2016-11-08 22:27:35 UTC) #4
haraken
https://codereview.chromium.org/2484973005/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2484973005/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode482 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:482: ScriptState* scriptState = ScriptState::from(isolate->GetCurrentContext()); You shouldn't use isolate->GetCurrentContext() unless ...
4 years, 1 month ago (2016-11-08 23:50:40 UTC) #5
whywhat
https://codereview.chromium.org/2484973005/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2484973005/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode482 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:482: ScriptState* scriptState = ScriptState::from(isolate->GetCurrentContext()); On 2016/11/08 at 23:50:40, haraken ...
4 years, 1 month ago (2016-11-09 00:22:02 UTC) #6
haraken
On 2016/11/09 00:22:02, whywhat wrote: > https://codereview.chromium.org/2484973005/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp > File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): > > https://codereview.chromium.org/2484973005/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode482 > ...
4 years, 1 month ago (2016-11-09 00:53:26 UTC) #7
whywhat
On 2016/11/09 at 00:53:26, haraken wrote: > On 2016/11/09 00:22:02, whywhat wrote: > > https://codereview.chromium.org/2484973005/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ...
4 years, 1 month ago (2016-11-09 01:59:06 UTC) #8
haraken
On 2016/11/09 01:59:06, whywhat wrote: > On 2016/11/09 at 00:53:26, haraken wrote: > > On ...
4 years, 1 month ago (2016-11-09 02:02:06 UTC) #9
whywhat
On 2016/11/09 at 01:59:06, whywhat wrote: > On 2016/11/09 at 00:53:26, haraken wrote: > > ...
4 years, 1 month ago (2016-11-09 02:07:38 UTC) #10
whywhat
Removed m_scriptState from RemotePlayback
4 years, 1 month ago (2016-11-09 02:21:44 UTC) #11
whywhat
PTAL
4 years, 1 month ago (2016-11-09 02:37:04 UTC) #12
haraken
LGTM https://codereview.chromium.org/2484973005/diff/40001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2484973005/diff/40001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode99 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:99: #include <v8.h> Remove this.
4 years, 1 month ago (2016-11-09 02:46:41 UTC) #15
whywhat
Removed <v8.h> from HTMLMediaElement.cpp
4 years, 1 month ago (2016-11-09 03:05:48 UTC) #16
whywhat
Thanks for the reviews! https://codereview.chromium.org/2484973005/diff/40001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2484973005/diff/40001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode99 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:99: #include <v8.h> On 2016/11/09 at ...
4 years, 1 month ago (2016-11-09 03:06:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2484973005/60001
4 years, 1 month ago (2016-11-09 03:07:20 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-09 04:33:56 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 04:36:29 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1775f467005c76d7b432fb59e25843931f9c52cf
Cr-Commit-Position: refs/heads/master@{#430864}

Powered by Google App Engine
This is Rietveld 408576698