Index: media/base/android/media_player_android.cc |
diff --git a/media/base/android/media_player_android.cc b/media/base/android/media_player_android.cc |
index 8a77ab00358fd938e8ae3235b1debac1988c76bb..46ad013b4263ff5f822f365366c400350d203026 100644 |
--- a/media/base/android/media_player_android.cc |
+++ b/media/base/android/media_player_android.cc |
@@ -27,14 +27,16 @@ MediaPlayerAndroid::MediaPlayerAndroid( |
int player_id, |
MediaPlayerManager* manager, |
const OnDecoderResourcesReleasedCB& on_decoder_resources_released_cb, |
- const GURL& frame_url) |
+ const GURL& frame_url, |
+ int media_session_id) |
: on_decoder_resources_released_cb_(on_decoder_resources_released_cb), |
player_id_(player_id), |
volume_(kDefaultVolume), |
volume_multiplier_(kDefaultVolumeMultiplier), |
manager_(manager), |
frame_url_(frame_url), |
- weak_factory_(this) { |
+ weak_factory_(this), |
+ media_session_id_(media_session_id) { |
listener_.reset(new MediaPlayerListener(base::ThreadTaskRunnerHandle::Get(), |
weak_factory_.GetWeakPtr())); |
} |