Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index 7b12c742023a5db0ac26e358ca0405bc481ed7be..ca17d00f3ffa979a749a500801c230392ceffd35 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -191,6 +191,8 @@ void MediaControls::show() |
makeOpaque(); |
m_panel->setIsDisplayed(true); |
m_panel->show(); |
+ if (m_overlayPlayButton) |
+ m_overlayPlayButton->updateDisplayType(); |
} |
void MediaControls::mediaElementFocused() |
@@ -203,6 +205,8 @@ void MediaControls::hide() |
{ |
m_panel->setIsDisplayed(false); |
m_panel->hide(); |
+ if (m_overlayPlayButton) |
+ m_overlayPlayButton->hide(); |
} |
void MediaControls::makeOpaque() |