| 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..2b2fc3fd397296eed9adb557d2e32e225f3e6b9d 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.
|
| @@ -157,7 +157,7 @@ void MediaWebContentsObserver::OnMediaPlaying(
|
| }
|
|
|
| if (!session_controllers_manager_.RequestPlay(
|
| - id, has_audio, is_remote, duration)) {
|
| + id, has_audio, is_remote, media_content_type)) {
|
| return;
|
| }
|
|
|
|
|