summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_webview_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_webview_delegate.cc')
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index 09e59f5..8e90a2c 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -635,6 +635,13 @@ WebPlugin* TestWebViewDelegate::createPlugin(WebFrame* frame,
frame, params, plugins.front().path, AsWeakPtr());
}
+// TODO(wjia): remove the version without url when WebKit change is done.
+// http://webk.it/91301.
+WebMediaPlayer* TestWebViewDelegate::createMediaPlayer(
+ WebFrame* frame, const WebKit::WebURL& url, WebMediaPlayerClient* client) {
+ return createMediaPlayer(frame, client);
+}
+
WebMediaPlayer* TestWebViewDelegate::createMediaPlayer(
WebFrame* frame, WebMediaPlayerClient* client) {
scoped_ptr<media::MessageLoopFactory> message_loop_factory(