| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 0c3cdacbb191ecba5e1a35bf4977e967b4446e40..17153a38f5e181a8d896a47d8e7e2f0dfdae9780 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -2288,8 +2288,8 @@ WebTextInputType WebViewImpl::textInputType()
|
| return WebTextInputTypeNone;
|
| }
|
|
|
| - if (node->hasTagName(HTMLNames::textareaTag)) {
|
| - if (static_cast<HTMLTextAreaElement*>(node)->isDisabledOrReadOnly())
|
| + if (isHTMLTextAreaElement(node)) {
|
| + if (toHTMLTextAreaElement(node)->isDisabledOrReadOnly())
|
| return WebTextInputTypeNone;
|
| return WebTextInputTypeTextArea;
|
| }
|
|
|