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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 11468033: Vanquish the remnants of media::MessageLoopFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 7 years, 12 months 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: chrome/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index eb60f9523fd2d533c6b2cb0182ce362273535f6c..b8b01ceb995bd24bb298aa83f1c15873e22441d3 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -381,12 +381,7 @@ ChromeContentRendererClient::OverrideCreateWebMediaPlayer(
WebKit::WebFrame* frame,
WebKit::WebMediaPlayerClient* client,
base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate,
- media::FilterCollection* collection,
- WebKit::WebAudioSourceProvider* audio_source_provider,
- media::AudioRendererSink* audio_renderer_sink,
- media::MessageLoopFactory* message_loop_factory,
- webkit_media::MediaStreamClient* media_stream_client,
- media::MediaLog* media_log) {
+ const webkit_media::WebMediaPlayerParams& params) {
#if defined(OS_ANDROID)
// Chromium for Android doesn't support prerender yet.
return NULL;
@@ -394,9 +389,8 @@ ChromeContentRendererClient::OverrideCreateWebMediaPlayer(
if (!prerender::PrerenderHelper::IsPrerendering(render_view))
return NULL;
- return new prerender::PrerenderWebMediaPlayer(render_view, frame, client,
- delegate, collection, audio_source_provider, audio_renderer_sink,
- message_loop_factory, media_stream_client, media_log);
+ return new prerender::PrerenderWebMediaPlayer(
+ render_view, frame, client, delegate, params);
#endif
}
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.h ('k') | chrome/renderer/prerender/prerender_webmediaplayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698