Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index b411b80e28e62a5f41c61e35d84c76dae5cec4eb..b0560f11dddbc156a7e77c71ccca1c75b39140a6 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -193,11 +193,16 @@ void MediaControls::reset() |
makeOpaque(); |
} |
+LayoutObject* MediaControls::layoutObjectForTextTrackLayout() |
+{ |
+ return m_panel->layoutObject(); |
+} |
+ |
void MediaControls::show() |
{ |
makeOpaque(); |
- m_panel->setIsDisplayed(true); |
m_panel->show(); |
+ m_panel->setIsDisplayed(true); |
if (m_overlayPlayButton) |
m_overlayPlayButton->updateDisplayType(); |
} |
@@ -212,8 +217,8 @@ void MediaControls::mediaElementFocused() |
void MediaControls::hide() |
{ |
- m_panel->setIsDisplayed(false); |
m_panel->hide(); |
+ m_panel->setIsDisplayed(false); |
if (m_overlayPlayButton) |
m_overlayPlayButton->hide(); |
} |