| Index: Source/core/html/HTMLTextFormControlElement.h
|
| diff --git a/Source/core/html/HTMLTextFormControlElement.h b/Source/core/html/HTMLTextFormControlElement.h
|
| index d64d1fc2997ac2b37efad350baa6c7e594f2f776..548426246f220d56b4aff5c79ec46e982f13d784 100644
|
| --- a/Source/core/html/HTMLTextFormControlElement.h
|
| +++ b/Source/core/html/HTMLTextFormControlElement.h
|
| @@ -135,12 +135,12 @@ private:
|
| TextFieldSelectionDirection m_cachedSelectionDirection;
|
| };
|
|
|
| -inline bool isHTMLTextFormControlElement(const Node& node)
|
| +inline bool isHTMLTextFormControlElement(const Element& element)
|
| {
|
| - return node.isElementNode() && toElement(node).isTextFormControl();
|
| + return element.isTextFormControl();
|
| }
|
|
|
| -DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTextFormControlElement);
|
| +DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTextFormControlElement);
|
|
|
| HTMLTextFormControlElement* enclosingTextFormControl(const Position&);
|
|
|
|
|