diff options
Diffstat (limited to 'WebCore/wml/WMLInputElement.cpp')
-rw-r--r-- | WebCore/wml/WMLInputElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/wml/WMLInputElement.cpp b/WebCore/wml/WMLInputElement.cpp index cb824d1..d6fa79a 100644 --- a/WebCore/wml/WMLInputElement.cpp +++ b/WebCore/wml/WMLInputElement.cpp @@ -298,7 +298,7 @@ void WMLInputElement::defaultEventHandler(Event* evt) InputElement::handleBeforeTextInsertedEvent(m_data, this, document(), evt); if (renderer() && (evt->isMouseEvent() || evt->isDragEvent() || evt->isWheelEvent() || evt->type() == eventNames().blurEvent || evt->type() == eventNames().focusEvent)) - static_cast<RenderTextControlSingleLine*>(renderer())->forwardEvent(evt); + toRenderTextControlSingleLine(renderer())->forwardEvent(evt); } void WMLInputElement::cacheSelection(int start, int end) |