Index: Source/core/html/HTMLFieldSetElement.h |
diff --git a/Source/core/html/HTMLFieldSetElement.h b/Source/core/html/HTMLFieldSetElement.h |
index 2d522f2498e5337df5c4b745cfe412f61c1aca14..8b41cdc0635e5abf6f4394e8dbbcc8363a84a4ab 100644 |
--- a/Source/core/html/HTMLFieldSetElement.h |
+++ b/Source/core/html/HTMLFieldSetElement.h |
@@ -63,11 +63,7 @@ private: |
mutable uint64_t m_documentVersion; |
}; |
-inline HTMLFieldSetElement* toHTMLFieldSetElement(Node* node) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::fieldsetTag)); |
- return static_cast<HTMLFieldSetElement*>(node); |
-} |
+DEFINE_NODE_TYPE_CASTS(HTMLFieldSetElement, hasTagName(HTMLNames::fieldsetTag)); |
} // namespace |