| Index: sky/engine/core/page/EventHandler.cpp
|
| diff --git a/sky/engine/core/page/EventHandler.cpp b/sky/engine/core/page/EventHandler.cpp
|
| index 9e2d8e7db2502e26cd460dcb26eb79b192714fea..940110a6410c2381f106459d37dc9733337800d6 100644
|
| --- a/sky/engine/core/page/EventHandler.cpp
|
| +++ b/sky/engine/core/page/EventHandler.cpp
|
| @@ -2193,22 +2193,6 @@ void EventHandler::defaultTextInputEventHandler(TextEvent* event)
|
|
|
| void EventHandler::defaultTabEventHandler(KeyboardEvent* event)
|
| {
|
| - ASSERT(event->type() == EventTypeNames::keydown);
|
| -
|
| - // We should only advance focus on tabs if no special modifier keys are held down.
|
| - if (event->ctrlKey() || event->metaKey())
|
| - return;
|
| -
|
| - Page* page = m_frame->page();
|
| - if (!page)
|
| - return;
|
| - if (!page->tabKeyCyclesThroughElements())
|
| - return;
|
| -
|
| - FocusType focusType = event->shiftKey() ? FocusTypeBackward : FocusTypeForward;
|
| -
|
| - if (page->focusController().advanceFocus(focusType))
|
| - event->setDefaultHandled();
|
| }
|
|
|
| void EventHandler::capsLockStateMayHaveChanged()
|
|
|