| 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 fccf8e7d78f0bd03f2cd05c8a382449081aef1be..88bda13791ee2f0a722be301ae6b793e3d40ac37 100644 | 
| --- a/webkit/tools/test_shell/test_webview_delegate.cc | 
| +++ b/webkit/tools/test_shell/test_webview_delegate.cc | 
| @@ -19,6 +19,7 @@ | 
| #include "gfx/native_widget_types.h" | 
| #include "gfx/point.h" | 
| #include "media/base/filter_collection.h" | 
| +#include "media/base/message_loop_factory_impl.h" | 
| #include "net/base/net_errors.h" | 
| #include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityObject.h" | 
| #include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" | 
| @@ -723,6 +724,9 @@ WebWorker* TestWebViewDelegate::createWorker(WebFrame* frame, | 
|  | 
| WebMediaPlayer* TestWebViewDelegate::createMediaPlayer( | 
| WebFrame* frame, WebMediaPlayerClient* client) { | 
| +  scoped_refptr<media::MessageLoopFactory> message_loop_factory( | 
| +      new media::MessageLoopFactoryImpl()); | 
| + | 
| scoped_ptr<media::FilterCollection> collection( | 
| new media::FilterCollection()); | 
|  | 
| @@ -731,7 +735,8 @@ WebMediaPlayer* TestWebViewDelegate::createMediaPlayer( | 
| collection->AddVideoRenderer(video_renderer); | 
|  | 
| scoped_ptr<webkit_glue::WebMediaPlayerImpl> result( | 
| -      new webkit_glue::WebMediaPlayerImpl(client, collection.release())); | 
| +      new webkit_glue::WebMediaPlayerImpl(client, collection.release(), | 
| +                                          message_loop_factory)); | 
| if (!result->Initialize(frame, false, video_renderer)) { | 
| return NULL; | 
| } | 
|  |