Index: media/blink/webmediaplayer_params.cc |
diff --git a/media/blink/webmediaplayer_params.cc b/media/blink/webmediaplayer_params.cc |
index bac6682f3176a03a79bde1ca94c8d2ad6d0c0ae8..18bfecbebce6b8a71be7cd75b0138ed8157f3b5f 100644 |
--- a/media/blink/webmediaplayer_params.cc |
+++ b/media/blink/webmediaplayer_params.cc |
@@ -21,7 +21,8 @@ WebMediaPlayerParams::WebMediaPlayerParams( |
const Context3DCB& context_3d_cb, |
const AdjustAllocatedMemoryCB& adjust_allocated_memory_cb, |
blink::WebContentDecryptionModule* initial_cdm, |
- SurfaceManager* surface_manager) |
+ SurfaceManager* surface_manager, |
+ base::WeakPtr<MediaObserver> media_observer) |
: defer_load_cb_(defer_load_cb), |
audio_renderer_sink_(audio_renderer_sink), |
media_log_(media_log), |
@@ -31,7 +32,8 @@ WebMediaPlayerParams::WebMediaPlayerParams( |
context_3d_cb_(context_3d_cb), |
adjust_allocated_memory_cb_(adjust_allocated_memory_cb), |
initial_cdm_(initial_cdm), |
- surface_manager_(surface_manager) {} |
+ surface_manager_(surface_manager), |
+ media_observer_(media_observer) {} |
WebMediaPlayerParams::~WebMediaPlayerParams() {} |