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 dc6d8f748a1f8fc3f69ce10a2a220ae7c3904c58..68e599a5166f92cf66e13372f810bd985b93c91d 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp |
@@ -391,8 +391,8 @@ bool MediaControls::shouldHideMediaControls(unsigned behaviorFlags) const { |
if (!ignoreFocus && |
(mediaElement().focused() || contains(document().focusedElement()))) |
return false; |
- // Don't hide the media controls when the text track list is showing. |
- if (m_textTrackList->isWanted()) |
+ // Don't hide the media controls when a panel is showing. |
+ if (m_textTrackList->isWanted() || m_overflowList->isWanted()) |
return false; |
return true; |
} |