Index: components/html_viewer/html_document.h |
diff --git a/components/html_viewer/html_document.h b/components/html_viewer/html_document.h |
index 7ee1604be1de3c5dd33120d78cf6f6ddb9816b3e..488c0056ad485ba72332c13d31e770016bf24ebf 100644 |
--- a/components/html_viewer/html_document.h |
+++ b/components/html_viewer/html_document.h |
@@ -104,11 +104,18 @@ class HTMLDocument : public blink::WebViewClient, |
blink::WebLayerTreeView* layerTreeView() override; |
// WebFrameClient methods: |
+ // 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::WebFrame* createChildFrame( |
blink::WebLocalFrame* parent, |
blink::WebTreeScopeType scope, |