Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index f7163b2c6d82a56110a4ac8005991e8348a793a7..c3d51dfd8d9fe0f0f8598a1e2f29635f1097bfef 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -220,8 +220,10 @@ void MediaControls::show() |
void MediaControls::mediaElementFocused() |
{ |
- show(); |
- resetHideMediaControlsTimer(); |
+ if (mediaElement().shouldShowControls()) { |
+ show(); |
+ resetHideMediaControlsTimer(); |
+ } |
} |
void MediaControls::hide() |