| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| index 10170a6e5696c7e8b2b507a27d1e396d03bc0420..f0dab8753fd5f9b168c163be831c4374204d897b 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -3173,7 +3173,7 @@ void HTMLMediaElement::connectedToRemoteDevice() {
|
| if (mediaControls())
|
| mediaControls()->startedCasting();
|
| if (remotePlaybackClient())
|
| - remotePlaybackClient()->stateChanged(WebRemotePlaybackState::Connected);
|
| + remotePlaybackClient()->stateChanged(WebRemotePlaybackState::Connecting);
|
| }
|
|
|
| void HTMLMediaElement::disconnectedFromRemoteDevice() {
|
| @@ -3189,6 +3189,11 @@ void HTMLMediaElement::cancelledRemotePlaybackRequest() {
|
| remotePlaybackClient()->promptCancelled();
|
| }
|
|
|
| +void HTMLMediaElement::remotePlaybackStarted() {
|
| + if (remotePlaybackClient())
|
| + remotePlaybackClient()->stateChanged(WebRemotePlaybackState::Connected);
|
| +}
|
| +
|
| bool HTMLMediaElement::isAutoplayingMuted() {
|
| if (!isHTMLVideoElement() ||
|
| !RuntimeEnabledFeatures::autoplayMutedVideosEnabled()) {
|
|
|