Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index 5c6780b58c0879ead0b2c7f1b7cb4b62ca04ca7c..3d590fab34d98ac4e65cfa365996b626eb36a30c 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -308,7 +308,6 @@ void MediaControls::makeOpaque() |
void MediaControls::makeTransparent() |
{ |
m_panel->makeTransparent(); |
- m_overlayCastButton->setIsWanted(false); |
} |
bool MediaControls::shouldHideMediaControls(unsigned behaviorFlags) const |
@@ -605,6 +604,7 @@ void MediaControls::hideMediaControlsTimerFired(Timer<MediaControls>*) |
return; |
makeTransparent(); |
+ m_overlayCastButton->setIsWanted(false); |
} |
void MediaControls::startHideMediaControlsTimer() |