Index: components/html_viewer/media_factory.cc |
diff --git a/components/html_viewer/media_factory.cc b/components/html_viewer/media_factory.cc |
index e65010c852039c70c7729fc9c76d01a562163aab..182e8e545d6da4490723518d2ead71465e3b181d 100644 |
--- a/components/html_viewer/media_factory.cc |
+++ b/components/html_viewer/media_factory.cc |
@@ -71,6 +71,7 @@ blink::WebMediaPlayer* MediaFactory::CreateMediaPlayer( |
blink::WebLocalFrame* frame, |
const blink::WebURL& url, |
blink::WebMediaPlayerClient* client, |
+ blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
blink::WebContentDecryptionModule* initial_cdm, |
mojo::Shell* shell) { |
#if defined(OS_ANDROID) |
@@ -97,8 +98,8 @@ blink::WebMediaPlayer* MediaFactory::CreateMediaPlayer( |
initial_cdm); |
base::WeakPtr<media::WebMediaPlayerDelegate> delegate; |
- return new media::WebMediaPlayerImpl(frame, client, delegate, |
- media_renderer_factory.Pass(), |
+ return new media::WebMediaPlayerImpl(frame, client, encrypted_client, |
+ delegate, media_renderer_factory.Pass(), |
GetCdmFactory(), params); |
#endif // defined(OS_ANDROID) |
} |