Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index 5d640a9d643263502cdf5cd6b0564049f8662c62..00c82898b9963a52b37c33aa1661a6a3a5aede0a 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -355,11 +355,18 @@ class CONTENT_EXPORT RenderFrameImpl |
const blink::WebPluginParams&) override; |
virtual blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, |
const blink::WebPluginParams& params); |
+ // TODO(srirama): Remove this method once blink updated. |
virtual blink::WebMediaPlayer* createMediaPlayer( |
blink::WebLocalFrame* frame, |
const blink::WebURL& url, |
blink::WebMediaPlayerClient* client, |
blink::WebContentDecryptionModule* initial_cdm); |
+ virtual blink::WebMediaPlayer* createMediaPlayer( |
+ blink::WebLocalFrame* frame, |
+ const blink::WebURL& url, |
+ blink::WebMediaPlayerClient* client, |
+ blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
+ blink::WebContentDecryptionModule* initial_cdm); |
virtual blink::WebApplicationCacheHost* createApplicationCacheHost( |
blink::WebLocalFrame* frame, |
blink::WebApplicationCacheHostClient* client); |
@@ -807,6 +814,7 @@ class CONTENT_EXPORT RenderFrameImpl |
#if defined(OS_ANDROID) |
blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
blink::WebMediaPlayerClient* client, |
+ blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
media::MediaPermission* media_permission, |
blink::WebContentDecryptionModule* initial_cdm); |