Index: Source/core/html/shadow/MediaControls.cpp |
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp |
index 62c39de593ed5a9fea483c3ba6959f86471e6899..81ab4cb426c2f42ec7c1cf9584b943e4cfd9a046 100644 |
--- a/Source/core/html/shadow/MediaControls.cpp |
+++ b/Source/core/html/shadow/MediaControls.cpp |
@@ -29,7 +29,6 @@ |
#include "bindings/v8/ExceptionStatePlaceholder.h" |
#include "core/events/MouseEvent.h" |
-#include "core/frame/Settings.h" |
#include "core/html/HTMLMediaElement.h" |
#include "core/html/MediaController.h" |
#include "core/rendering/RenderTheme.h" |
@@ -193,7 +192,7 @@ void MediaControls::reset() |
refreshClosedCaptionsButtonVisibility(); |
- if (mediaElement().hasVideo() && document().settings() && document().settings()->fullScreenEnabled()) |
+ if (mediaElement().hasVideo()) |
m_fullScreenButton->show(); |
else |
m_fullScreenButton->hide(); |