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

Unified Diff: mojo/services/html_viewer/webmediaplayer_factory.cc

Issue 445013002: media: Optimize HW Video to 2D Canvas copy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rollback android code Created 6 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: mojo/services/html_viewer/webmediaplayer_factory.cc
diff --git a/mojo/services/html_viewer/webmediaplayer_factory.cc b/mojo/services/html_viewer/webmediaplayer_factory.cc
index 7f067545a6418e370fead2b004d8425fbead1f38..bf59875ed15f64adc73b81827130a321f64882f6 100644
--- a/mojo/services/html_viewer/webmediaplayer_factory.cc
+++ b/mojo/services/html_viewer/webmediaplayer_factory.cc
@@ -73,7 +73,8 @@ blink::WebMediaPlayer* WebMediaPlayerFactory::CreateMediaPlayer(
media::WebMediaPlayerParams params(
media::WebMediaPlayerParams::DeferLoadCB(), CreateAudioRendererSink(),
- media_log, GetMediaThreadTaskRunner(), compositor_task_runner_, nullptr);
+ media_log, GetMediaThreadTaskRunner(), compositor_task_runner_,
+ media::WebMediaPlayerParams::Context3DCB(), nullptr);
base::WeakPtr<media::WebMediaPlayerDelegate> delegate;
// TODO(xhwang): Provide a media based CdmFactory implementation.
« content/renderer/media/android/webmediaplayer_android.cc ('K') | « media/media.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698