| Index: content/browser/android/media_player_manager_android.cc
|
| diff --git a/content/browser/android/media_player_manager_android.cc b/content/browser/android/media_player_manager_android.cc
|
| index 4a093c7eb09ade488412741e9abeba1ddc5823b3..2afa079f449329fc3982e7bb598f3ef1236241aa 100644
|
| --- a/content/browser/android/media_player_manager_android.cc
|
| +++ b/content/browser/android/media_player_manager_android.cc
|
| @@ -107,8 +107,9 @@ void MediaPlayerManagerAndroid::SetVideoSurface(jobject surface) {
|
| }
|
|
|
| void MediaPlayerManagerAndroid::OnInitialize(
|
| - int player_id, const GURL& url,
|
| - bool is_media_source,
|
| + int player_id,
|
| + const GURL& url,
|
| + media::MediaPlayerBridge::MediaType media_type,
|
| const GURL& first_party_for_cookies) {
|
| for (ScopedVector<MediaPlayerBridge>::iterator it = players_.begin();
|
| it != players_.end(); ++it) {
|
| @@ -124,7 +125,7 @@ void MediaPlayerManagerAndroid::OnInitialize(
|
| fileapi::FileSystemContext* file_system_context =
|
| partition ? partition->GetFileSystemContext() : NULL;
|
| players_.push_back(media::MediaPlayerBridge::Create(
|
| - player_id, url, is_media_source, first_party_for_cookies,
|
| + player_id, url, media_type, first_party_for_cookies,
|
| new MediaResourceGetterImpl(context, file_system_context, host->GetID(),
|
| routing_id()),
|
| context->IsOffTheRecord(), this,
|
|
|