Index: third_party/WebKit/Source/core/html/shadow/MediaControls.cpp |
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp |
index 6fcf2642e672bbb9fa145f243b43bcf7045fa993..0ff0bbf65e2768f430a5f44c315722005e02bfe8 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp |
@@ -517,7 +517,8 @@ void MediaControls::makeTransparent() { |
bool MediaControls::shouldHideMediaControls(unsigned behaviorFlags) const { |
// Never hide for a media element without visual representation. |
if (!mediaElement().isHTMLVideoElement() || !mediaElement().hasVideo() || |
- mediaElement().isPlayingRemotely()) { |
+ mediaElement().isPlayingRemotely() || |
+ mediaElement().isMediaRemotingStarted()) { |
return false; |
} |