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 eee0310328aeb465cbe8a1ada81a11d5dc10ec82..0ce450acc3db6927a9d291ec76cb6a22dda5383a 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -3515,8 +3515,7 @@ void WebContentsImpl::OnUpdateFaviconURL( |
#if defined(OS_ANDROID) |
-void WebContentsImpl::OnMediaSessionStateChanged() { |
- MediaSession* session = MediaSession::Get(this); |
+void WebContentsImpl::OnMediaSessionStateChanged(MediaSession* session) { |
FOR_EACH_OBSERVER(WebContentsObserver, observers_, |
MediaSessionStateChanged(session->IsControllable(), |
session->IsSuspended())); |