| Index: media/blink/webmediaplayer_impl.cc
|
| diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
|
| index c746292dd77438a14580527234d2265b82549804..88934a48a32fddb4c6d990f409ae191112b35b90 100644
|
| --- a/media/blink/webmediaplayer_impl.cc
|
| +++ b/media/blink/webmediaplayer_impl.cc
|
| @@ -1761,12 +1761,11 @@ void WebMediaPlayerImpl::SetSuspendState(bool is_suspended) {
|
| if (IsNetworkStateError(network_state_))
|
| return;
|
|
|
| -#if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) && !defined(OS_MACOSX)
|
| +#if defined(OS_LINUX)
|
| // TODO(sandersd): idle suspend is disabled if decoder owns video frame.
|
| - // Used on Windows+Chromecast. Since GetCurrentFrameFromCompositor is a
|
| - // synchronous cross-thread post, avoid the cost on platforms that always
|
| - // allow suspend. Need to find a better mechanism for this. See
|
| - // http://crbug.com/602708
|
| + // Used on Chromecast. Since GetCurrentFrameFromCompositor is a synchronous
|
| + // cross-thread post, avoid the cost on platforms that always allow suspend.
|
| + // Need to find a better mechanism for this. See http://crbug.com/602708
|
| if (can_suspend_state_ == CanSuspendState::UNKNOWN) {
|
| scoped_refptr<VideoFrame> frame = GetCurrentFrameFromCompositor();
|
| if (frame) {
|
|
|