| Index: webkit/tools/test_shell/test_webview_delegate.cc
|
| diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
|
| index 95d55f06f4ee6a1bb36f031ba4a36d9d3465cc0b..e0dc4251e8a039f8d98715ed6392ddbba64449fc 100644
|
| --- a/webkit/tools/test_shell/test_webview_delegate.cc
|
| +++ b/webkit/tools/test_shell/test_webview_delegate.cc
|
| @@ -18,7 +18,6 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "media/base/filter_collection.h"
|
| #include "media/base/media_log.h"
|
| -#include "media/base/message_loop_factory.h"
|
| #include "net/base/net_errors.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObject.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
|
| @@ -531,20 +530,13 @@ WebPlugin* TestWebViewDelegate::createPlugin(WebFrame* frame,
|
|
|
| WebMediaPlayer* TestWebViewDelegate::createMediaPlayer(
|
| WebFrame* frame, const WebKit::WebURL& url, WebMediaPlayerClient* client) {
|
| - scoped_ptr<media::MessageLoopFactory> message_loop_factory(
|
| - new media::MessageLoopFactory());
|
| -
|
| - scoped_ptr<media::FilterCollection> collection(
|
| - new media::FilterCollection());
|
| -
|
| return new webkit_media::WebMediaPlayerImpl(
|
| frame,
|
| client,
|
| base::WeakPtr<webkit_media::WebMediaPlayerDelegate>(),
|
| - collection.release(),
|
| NULL,
|
| NULL,
|
| - message_loop_factory.release(),
|
| + NULL,
|
| NULL,
|
| new media::MediaLog());
|
| }
|
|
|