Index: Source/WebCore/page/EventHandler.cpp |
diff --git a/Source/WebCore/page/EventHandler.cpp b/Source/WebCore/page/EventHandler.cpp |
index c953cb013ec53e8cb874dc995562df0e7f4a18a3..416463f7cfe1657d8557047d4516c53a9e62916b 100644 |
--- a/Source/WebCore/page/EventHandler.cpp |
+++ b/Source/WebCore/page/EventHandler.cpp |
@@ -3529,11 +3529,7 @@ bool EventHandler::isKeyboardOptionTab(KeyboardEvent* event) |
bool EventHandler::eventInvertsTabsToLinksClientCallResult(KeyboardEvent* event) |
{ |
-#if PLATFORM(MAC) || PLATFORM(QT) |
- return EventHandler::isKeyboardOptionTab(event); |
-#else |
return false; |
-#endif |
} |
bool EventHandler::tabsToLinks(KeyboardEvent* event) const |
@@ -3554,14 +3550,6 @@ void EventHandler::defaultTextInputEventHandler(TextEvent* event) |
event->setDefaultHandled(); |
} |
-#if PLATFORM(QT) |
-// Qt handles the space event in platform-specific WebKit code. |
-// Eventually it would be good to eliminate that and use the code here instead. |
-void EventHandler::defaultSpaceEventHandler(KeyboardEvent*) |
-{ |
-} |
-#else |
- |
void EventHandler::defaultSpaceEventHandler(KeyboardEvent* event) |
{ |
ASSERT(event->type() == eventNames().keypressEvent); |
@@ -3583,8 +3571,6 @@ void EventHandler::defaultSpaceEventHandler(KeyboardEvent* event) |
event->setDefaultHandled(); |
} |
-#endif |
- |
void EventHandler::defaultBackspaceEventHandler(KeyboardEvent* event) |
{ |
ASSERT(event->type() == eventNames().keydownEvent); |