| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 2d64c53effb2e9f8cd85f91970735b15a0040896..f2e163c24a0f4d740de1b30eb33be9b8d5171a87 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -115,6 +115,7 @@
|
| #include "content/browser/android/content_video_view.h"
|
| #include "content/browser/android/date_time_chooser_android.h"
|
| #include "content/browser/android/media_players_observer.h"
|
| +#include "content/browser/media/android/media_session.h"
|
| #include "content/browser/web_contents/web_contents_android.h"
|
| #endif
|
|
|
| @@ -4231,6 +4232,10 @@ bool WebContentsImpl::CreateRenderViewForInitialEmptyDocument() {
|
| frame_tree_.root()->current_replication_state(), true);
|
| }
|
|
|
| +MediaControlsDelegate* WebContentsImpl::GetMediaControlsDelegate() {
|
| + return MediaSession::Get(this);
|
| +}
|
| +
|
| #elif defined(OS_MACOSX)
|
|
|
| void WebContentsImpl::SetAllowOtherViews(bool allow) {
|
|
|