| Index: third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp b/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
|
| index 46f1f6f2a4d238c5f6729a9a537bb81c2b7fbd85..1dcaab2e60fbbf77e10a899b4957dc3cf730462e 100644
|
| --- a/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
|
| @@ -529,7 +529,9 @@ void MediaControlsImpl::MakeTransparent() {
|
| bool MediaControlsImpl::ShouldHideMediaControls(unsigned behavior_flags) const {
|
| // Never hide for a media element without visual representation.
|
| if (!MediaElement().IsHTMLVideoElement() || !MediaElement().HasVideo() ||
|
| - MediaElement().IsPlayingRemotely()) {
|
| + MediaElement().IsPlayingRemotely() ||
|
| + toHTMLVideoElement(MediaElement()).GetMediaRemotingStatus() ==
|
| + HTMLVideoElement::MediaRemotingStatus::kStarted) {
|
| return false;
|
| }
|
|
|
|
|