Index: components/html_viewer/media_factory.cc |
diff --git a/components/html_viewer/media_factory.cc b/components/html_viewer/media_factory.cc |
index dda9427c9fa1a4c593603a7086ed63a8093483af..a1196371571371a5d98b7b990440f81675286709 100644 |
--- a/components/html_viewer/media_factory.cc |
+++ b/components/html_viewer/media_factory.cc |
@@ -82,6 +82,7 @@ blink::WebMediaPlayer* MediaFactory::CreateMediaPlayer( |
blink::WebMediaPlayerClient* client, |
blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
blink::WebContentDecryptionModule* initial_cdm, |
+ blink::WebMediaSession* session, |
mojo::Shell* shell) { |
#if defined(OS_ANDROID) |
// TODO(xhwang): Get CreateMediaPlayer working on android. |
@@ -106,7 +107,7 @@ blink::WebMediaPlayer* MediaFactory::CreateMediaPlayer( |
compositor_task_runner_, media::WebMediaPlayerParams::Context3DCB(), |
base::Bind(&v8::Isolate::AdjustAmountOfExternalAllocatedMemory, |
base::Unretained(blink::mainThreadIsolate())), |
- GetMediaPermission(), initial_cdm); |
+ GetMediaPermission(), initial_cdm, session); |
base::WeakPtr<media::WebMediaPlayerDelegate> delegate; |
if (!url_index_.get() || url_index_->frame() != frame) { |