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 a3c07b1e05fb4a6641cfc270028ac2d8d1787ebd..40ad55bddfe176f13268f245cf57cfaf4a3f1c94 100644 |
--- a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp |
+++ b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp |
@@ -44,6 +44,7 @@ HTMLMediaElementRemotePlayback& HTMLMediaElementRemotePlayback::from( |
// static |
RemotePlayback* HTMLMediaElementRemotePlayback::remote( |
+ ScriptState* scriptState, |
HTMLMediaElement& element) { |
HTMLMediaElementRemotePlayback& self = |
HTMLMediaElementRemotePlayback::from(element); |
@@ -52,7 +53,7 @@ RemotePlayback* HTMLMediaElementRemotePlayback::remote( |
return nullptr; |
if (!self.m_remote) |
- self.m_remote = RemotePlayback::create(element); |
+ self.m_remote = RemotePlayback::create(scriptState, element); |
return self.m_remote; |
} |