| Index: media/blink/webmediaplayer_impl.cc | 
| diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc | 
| index 97c5b7f87324732622838bd82182c5c15acdcffe..ffbbea18885ba7edd1d7e9d9f140f9259654f42f 100644 | 
| --- a/media/blink/webmediaplayer_impl.cc | 
| +++ b/media/blink/webmediaplayer_impl.cc | 
| @@ -2317,10 +2317,16 @@ void WebMediaPlayerImpl::ReportTimeFromForegroundToFirstFrame( | 
| time_to_first_frame); | 
| } | 
| } | 
| -void WebMediaPlayerImpl::SwitchRenderer(bool disable_pipeline_auto_suspend) { | 
| +void WebMediaPlayerImpl::SwitchRenderer(bool is_rendered_remotely) { | 
| DCHECK(main_task_runner_->BelongsToCurrentThread()); | 
| -  disable_pipeline_auto_suspend_ = disable_pipeline_auto_suspend; | 
| +  disable_pipeline_auto_suspend_ = is_rendered_remotely; | 
| ScheduleRestart(); | 
| +  if (client_) { | 
| +    if (is_rendered_remotely) | 
| +      client_->mediaRemotingStarted(); | 
| +    else | 
| +      client_->mediaRemotingStopped(); | 
| +  } | 
| } | 
|  | 
| void WebMediaPlayerImpl::RecordUnderflowDuration(base::TimeDelta duration) { | 
|  |