Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 875d3cae2af6e38877172fa2d167cdac614330a9..90a59308b15cb21c60c286a78df23bd535ea51f7 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -1134,7 +1134,7 @@ void HTMLInputElement::defaultEventHandler(Event* evt) |
} |
if (evt->isTouchEvent()) { |
- m_inputTypeView->handleTouchEvent(static_cast<TouchEvent*>(evt)); |
+ m_inputTypeView->handleTouchEvent(toTouchEvent(evt)); |
if (evt->defaultHandled()) |
return; |
} |