Index: webkit/support/webkit_support.cc |
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc |
index 04a6fbbe7d430e4547dc993ca4115fd544fab99d..dee233ec05a5dbf6f5e7914111f8c8edf72a9c77 100644 |
--- a/webkit/support/webkit_support.cc |
+++ b/webkit/support/webkit_support.cc |
@@ -31,7 +31,6 @@ |
#include "grit/webkit_chromium_resources.h" |
#include "media/base/filter_collection.h" |
#include "media/base/media_log.h" |
-#include "media/base/message_loop_factory.h" |
#include "net/base/escape.h" |
#include "net/base/net_errors.h" |
#include "net/base/net_util.h" |
@@ -420,20 +419,13 @@ WebKit::WebMediaPlayer* CreateMediaPlayer( |
new webkit_support::TestStreamTextureFactory(), |
true); |
#else |
- 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, |
media_stream_client, |
new media::MediaLog()); |
#endif |