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

Unified Diff: third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp

Issue 2484973005: [Blink, RemotePlaybackAPI] Create WebRemotePlaybackClient in HTMLMediaElement ctor to avoid lazy in… (Closed)
Patch Set: Removed <v8.h> from HTMLMediaElement.cpp Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
diff --git a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
index e10c8728030a6cc212e0b962035340295242c4c6..c7195f8cb5025f41cdb5ea583cb91ceb66ad2435 100644
--- a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
+++ b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
@@ -49,7 +49,6 @@ HTMLMediaElementRemotePlayback& HTMLMediaElementRemotePlayback::from(
// static
RemotePlayback* HTMLMediaElementRemotePlayback::remote(
- ScriptState* scriptState,
HTMLMediaElement& element) {
HTMLMediaElementRemotePlayback& self =
HTMLMediaElementRemotePlayback::from(element);
@@ -58,7 +57,7 @@ RemotePlayback* HTMLMediaElementRemotePlayback::remote(
return nullptr;
if (!self.m_remote)
- self.m_remote = RemotePlayback::create(scriptState, element);
+ self.m_remote = RemotePlayback::create(element);
return self.m_remote;
}

Powered by Google App Engine
This is Rietveld 408576698