| Index: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| diff --git a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| index b37abe9022dd79c864b49f6975abb6367b64bdc5..88530f205fd29c710f6d891543122b4dc6d3f546 100644
|
| --- a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| +++ b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| @@ -269,7 +269,8 @@ void RemotePlayback::remotePlaybackDisabled() {
|
|
|
| m_availabilityCallbacks.clear();
|
|
|
| - // TODO(avayvod): stop remote playback too. https://crbug.com/657566.
|
| + if (m_state != WebRemotePlaybackState::Disconnected)
|
| + m_mediaElement->requestRemotePlaybackStop();
|
| }
|
|
|
| void RemotePlayback::setV8ReferencesForCallbacks(
|
|
|