Index: Source/core/html/HTMLFrameSetElement.h |
diff --git a/Source/core/html/HTMLFrameSetElement.h b/Source/core/html/HTMLFrameSetElement.h |
index 9c3b4f78e8069f75b3896a2635aab437c4b41af4..938c8d620ecc9454b83a7e46db96085ca179f367 100644 |
--- a/Source/core/html/HTMLFrameSetElement.h |
+++ b/Source/core/html/HTMLFrameSetElement.h |
@@ -95,11 +95,7 @@ private: |
bool m_noresize; |
}; |
-inline HTMLFrameSetElement* toHTMLFrameSetElement(Node* node) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::framesetTag)); |
- return static_cast<HTMLFrameSetElement*>(node); |
-} |
+DEFINE_NODE_TYPE_CASTS(HTMLFrameSetElement, hasTagName(HTMLNames::framesetTag)); |
} // namespace WebCore |