| 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 674728838d4c7781a32a7ab2893c5970e078514b..5f6c3fcb7fa1df04b2c8c1cb89a6cf8a05b163ce 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -3849,8 +3849,13 @@ void WebContentsImpl::OnMediaSessionStateChanged() {
|
| MediaSession* session = MediaSession::Get(this);
|
| FOR_EACH_OBSERVER(WebContentsObserver, observers_,
|
| MediaSessionStateChanged(session->IsControllable(),
|
| - session->IsSuspended(),
|
| - session->metadata()));
|
| + session->IsSuspended()));
|
| +}
|
| +
|
| +void WebContentsImpl::OnMediaSessionMetadataChanged() {
|
| + MediaSession* session = MediaSession::Get(this);
|
| + FOR_EACH_OBSERVER(WebContentsObserver, observers_,
|
| + MediaSessionMetadataChanged(session->metadata()));
|
| }
|
|
|
| void WebContentsImpl::ResumeMediaSession() {
|
|
|