Index: Source/core/dom/Fullscreen.cpp |
diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp |
index 0328c519de1771cd7ca894deb4ae30f174afc5c8..bf649f1a2968d3bd717dda877a02a036df490cfe 100644 |
--- a/Source/core/dom/Fullscreen.cpp |
+++ b/Source/core/dom/Fullscreen.cpp |
@@ -161,7 +161,6 @@ bool Fullscreen::isFullScreen(Document& document) |
Fullscreen::Fullscreen(Document& document) |
: DocumentLifecycleObserver(&document) |
- , m_areKeysEnabledInFullScreen(false) |
, m_fullScreenRenderer(nullptr) |
, m_eventQueueTimer(this, &Fullscreen::eventQueueTimerFired) |
{ |
@@ -284,7 +283,6 @@ void Fullscreen::requestFullscreen(Element& element, RequestType requestType) |
// 5. Return, and run the remaining steps asynchronously. |
// 6. Optionally, perform some animation. |
- m_areKeysEnabledInFullScreen = requestType != PrefixedMozillaRequest && requestType != PrefixedVideoRequest; |
document()->frameHost()->chrome().client().enterFullScreenForElement(&element); |
// 7. Optionally, display a message indicating how the user can exit displaying the context object fullscreen. |
@@ -459,8 +457,6 @@ void Fullscreen::didExitFullScreenForElement(Element*) |
m_fullScreenElement->setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(false); |
- m_areKeysEnabledInFullScreen = false; |
- |
if (m_fullScreenRenderer) |
m_fullScreenRenderer->unwrapRenderer(); |