Index: media/blink/webmediaplayer_params.cc |
diff --git a/media/blink/webmediaplayer_params.cc b/media/blink/webmediaplayer_params.cc |
index 1fd2b8af80f9c3e4ca18fbe8df35bfc1f178d4ea..b5c844836be049318700e8916524f83e3a3ef7e2 100644 |
--- a/media/blink/webmediaplayer_params.cc |
+++ b/media/blink/webmediaplayer_params.cc |
@@ -12,7 +12,7 @@ |
namespace media { |
WebMediaPlayerParams::WebMediaPlayerParams( |
- const base::Callback<void(const base::Closure&)>& defer_load_cb, |
+ const DeferLoadCB& defer_load_cb, |
const scoped_refptr<AudioRendererSink>& audio_renderer_sink, |
const AudioHardwareConfig& audio_hardware_config, |
const scoped_refptr<MediaLog>& media_log, |
@@ -21,6 +21,7 @@ WebMediaPlayerParams::WebMediaPlayerParams( |
const scoped_refptr<base::SingleThreadTaskRunner>& compositor_task_runner, |
const EncryptedMediaPlayerSupportCreateCB& |
encrypted_media_player_support_cb, |
+ const Context3DProviderCB& shared_main_thread_context_3d_provider_cb, |
blink::WebContentDecryptionModule* initial_cdm) |
: defer_load_cb_(defer_load_cb), |
audio_renderer_sink_(audio_renderer_sink), |
@@ -30,6 +31,8 @@ WebMediaPlayerParams::WebMediaPlayerParams( |
media_task_runner_(media_task_runner), |
compositor_task_runner_(compositor_task_runner), |
encrypted_media_player_support_cb_(encrypted_media_player_support_cb), |
+ shared_main_thread_context_3d_provider_cb_( |
+ shared_main_thread_context_3d_provider_cb), |
initial_cdm_(initial_cdm) { |
} |