Index: Source/core/html/shadow/MediaControlElements.cpp |
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp |
index fd8b52732a761a4181dc73cf1907e167df3a71b1..2439bb62e1be659462f2a824b329da9646fcf7fd 100644 |
--- a/Source/core/html/shadow/MediaControlElements.cpp |
+++ b/Source/core/html/shadow/MediaControlElements.cpp |
@@ -320,9 +320,9 @@ void MediaControlOverlayPlayButtonElement::defaultEventHandler(Event* event) |
void MediaControlOverlayPlayButtonElement::updateDisplayType() |
{ |
- if (mediaElement().shouldShowControls() && mediaElement().togglePlayStateWillPlay()) { |
+ if (mediaElement().shouldShowControls() && mediaElement().togglePlayStateWillPlay()) |
show(); |
- } else |
+ else |
hide(); |
} |