| Index: content/browser/media/media_web_contents_observer.cc
|
| diff --git a/content/browser/media/media_web_contents_observer.cc b/content/browser/media/media_web_contents_observer.cc
|
| index c15de1c0c7e738ee458450a1c75503e5b9ddda7d..ee1596da58643751e426f423cbf0d4fa8c7ae00a 100644
|
| --- a/content/browser/media/media_web_contents_observer.cc
|
| +++ b/content/browser/media/media_web_contents_observer.cc
|
| @@ -127,7 +127,7 @@ void MediaWebContentsObserver::OnMediaPlaying(
|
| bool has_video,
|
| bool has_audio,
|
| bool is_remote,
|
| - base::TimeDelta duration) {
|
| + media::MediaContentType media_content_type) {
|
| // Ignore the videos playing remotely and don't hold the wake lock for the
|
| // screen. TODO(dalecurtis): Is this correct? It means observers will not
|
| // receive play and pause messages.
|
| @@ -156,8 +156,8 @@ void MediaWebContentsObserver::OnMediaPlaying(
|
| }
|
| }
|
|
|
| - if (!session_controllers_manager_.RequestPlay(
|
| - id, has_audio, is_remote, duration)) {
|
| + if (!session_controllers_manager_.RequestPlay(id, has_audio, is_remote,
|
| + media_content_type)) {
|
| return;
|
| }
|
|
|
|
|