summaryrefslogtreecommitdiffstats
path: root/WebCore/wml/WMLInputElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/wml/WMLInputElement.cpp')
-rw-r--r--WebCore/wml/WMLInputElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/wml/WMLInputElement.cpp b/WebCore/wml/WMLInputElement.cpp
index 639658f..2165bd4 100644
--- a/WebCore/wml/WMLInputElement.cpp
+++ b/WebCore/wml/WMLInputElement.cpp
@@ -274,7 +274,7 @@ void WMLInputElement::defaultEventHandler(Event* evt)
}
if (evt->type() == eventNames().keydownEvent && evt->isKeyboardEvent() && focused() && document()->frame()
- && document()->frame()->doTextFieldCommandFromEvent(this, static_cast<KeyboardEvent*>(evt))) {
+ && document()->frame()->editor()->doTextFieldCommandFromEvent(this, static_cast<KeyboardEvent*>(evt))) {
evt->setDefaultHandled();
return;
}