| 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 1524d7590cf2cc49c53499c868c9c80d133c1571..9776b6d04b67339a5968cc8924123659de081f9b 100644
|
| --- a/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp
|
| @@ -534,7 +534,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;
|
| }
|
|
|
|
|