Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index bc43dc39a3be545f3d88307cc15e0e988d125049..aa55c6ccf0957b63ff6799a2b03aaa2aeea01974 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -2327,7 +2327,8 @@ blink::WebMediaPlayer* RenderFrameImpl::createMediaPlayer( |
WebMediaPlayerClient* client, |
WebMediaPlayerEncryptedMediaClient* encrypted_client, |
WebContentDecryptionModule* initial_cdm, |
- const blink::WebString& sink_id) { |
+ const blink::WebString& sink_id, |
+ WebMediaSession* session) { |
#if defined(VIDEO_HOLE) |
if (!contains_media_player_) { |
render_view_->RegisterVideoHoleFrame(this); |
@@ -2360,7 +2361,7 @@ blink::WebMediaPlayer* RenderFrameImpl::createMediaPlayer( |
render_thread->compositor_task_runner(), context_3d_cb, |
base::Bind(&v8::Isolate::AdjustAmountOfExternalAllocatedMemory, |
base::Unretained(blink::mainThreadIsolate())), |
- GetMediaPermission(), initial_cdm); |
+ GetMediaPermission(), initial_cdm, session); |
#if defined(OS_ANDROID) |
// We must use WMPA in when accelerated video decode is disabled becuase WMPI |