Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 91ef6708e6f5e78594ef9b36ad751aec9955cc39..a88f1c5d616b0b6e35f951b263d08ad96a0e6195 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -3552,7 +3552,7 @@ void HTMLMediaElement::updateTextTrackDisplay() |
{ |
WTF_LOG(Media, "HTMLMediaElement::updateTextTrackDisplay"); |
- if (!hasMediaControls() && !createMediaControls()) |
+ if (!createMediaControls()) |
return; |
mediaControls()->updateTextTrackDisplay(); |
@@ -3653,7 +3653,7 @@ void HTMLMediaElement::configureMediaControls() |
return; |
} |
- if (!hasMediaControls() && !createMediaControls()) |
+ if (!createMediaControls()) |
return; |
mediaControls()->reset(); |
@@ -3686,7 +3686,7 @@ void HTMLMediaElement::configureTextTrackDisplay(VisibilityChangeAssumption assu |
if (!m_haveVisibleTextTrack && !hasMediaControls()) |
return; |
- if (!hasMediaControls() && !createMediaControls()) |
+ if (!createMediaControls()) |
return; |
mediaControls()->changedClosedCaptionsVisibility(); |