| Index: Source/core/page/EventHandler.cpp
|
| diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
|
| index 1ee1f595366bd5a13f544451af9c91c8c74a042f..6b29facf87127577991879a6ace097e9a44ff59f 100644
|
| --- a/Source/core/page/EventHandler.cpp
|
| +++ b/Source/core/page/EventHandler.cpp
|
| @@ -35,7 +35,7 @@
|
| #include "core/clipboard/DataTransfer.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/DocumentMarkerController.h"
|
| -#include "core/dom/FullscreenElementStack.h"
|
| +#include "core/dom/Fullscreen.h"
|
| #include "core/dom/NodeRenderingTraversal.h"
|
| #include "core/dom/TouchList.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| @@ -2944,7 +2944,7 @@ bool EventHandler::handleAccessKey(const PlatformKeyboardEvent& evt)
|
| return true;
|
| }
|
|
|
| -bool EventHandler::isKeyEventAllowedInFullScreen(FullscreenElementStack* fullscreen, const PlatformKeyboardEvent& keyEvent) const
|
| +bool EventHandler::isKeyEventAllowedInFullScreen(Fullscreen* fullscreen, const PlatformKeyboardEvent& keyEvent) const
|
| {
|
| if (fullscreen->webkitFullScreenKeyboardInputAllowed())
|
| return true;
|
| @@ -2968,7 +2968,7 @@ bool EventHandler::keyEvent(const PlatformKeyboardEvent& initialKeyEvent)
|
| RefPtr<FrameView> protector(m_frame->view());
|
|
|
| ASSERT(m_frame->document());
|
| - if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(*m_frame->document())) {
|
| + if (Fullscreen* fullscreen = Fullscreen::fromIfExists(*m_frame->document())) {
|
| if (fullscreen->webkitIsFullScreen() && !isKeyEventAllowedInFullScreen(fullscreen, initialKeyEvent)) {
|
| UseCounter::count(*m_frame->document(), UseCounter::KeyEventNotAllowedInFullScreen);
|
| return false;
|
|
|