Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1139)

Unified Diff: webkit/support/webkit_support.cc

Issue 11468033: Vanquish the remnants of media::MessageLoopFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698