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 811996a545f6752fcf5a449b696119c926d17b1c..0f48afb1f7401487280bc0464a0330f3e0fbf503 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp |
@@ -518,7 +518,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; |
} |