Index: Source/core/html/HTMLFormControlElement.h |
diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h |
index 44d3315884fa19fa5a01839e11731d7296b47669..8a89ebcf414f2458f6cb2849a80fb2977e64d14d 100644 |
--- a/Source/core/html/HTMLFormControlElement.h |
+++ b/Source/core/html/HTMLFormControlElement.h |
@@ -186,7 +186,7 @@ inline bool isHTMLFormControlElement(const Node& node) |
return node.isElementNode() && toElement(node).isFormControlElement(); |
} |
-DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
+DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, control->isFormControlElement(), control.isFormControlElement()); |
} // namespace |