| Index: Source/core/html/shadow/MediaControls.cpp
|
| diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp
|
| index 6e3fef244861bfc448c40722dde83b54e710f037..0ce4e6e0fca708465e7e1203aed7b1382617dcba 100644
|
| --- a/Source/core/html/shadow/MediaControls.cpp
|
| +++ b/Source/core/html/shadow/MediaControls.cpp
|
| @@ -244,7 +244,7 @@ void MediaControls::makeTransparent()
|
| bool MediaControls::shouldHideMediaControls(unsigned behaviorFlags) const
|
| {
|
| // Never hide for a media element without visual representation.
|
| - if (!mediaElement().hasVideo())
|
| + if (!mediaElement().hasVideo() || mediaElement().isPlayingRemotely())
|
| return false;
|
| // Don't hide if the mouse is over the controls.
|
| const bool ignoreControlsHover = behaviorFlags & IgnoreControlsHover;
|
|
|