| Index: Source/core/html/HTMLDivElement.h
|
| diff --git a/Source/core/html/HTMLDivElement.h b/Source/core/html/HTMLDivElement.h
|
| index 72b1153f71f3af7ec4ca28eea40ee17e057c47fb..e326c6e18b1749ba12aebb08ec1d724448209139 100644
|
| --- a/Source/core/html/HTMLDivElement.h
|
| +++ b/Source/core/html/HTMLDivElement.h
|
| @@ -40,11 +40,7 @@ private:
|
| virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE;
|
| };
|
|
|
| -inline HTMLDivElement* toHTMLDivElement(Node* node)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::divTag));
|
| - return static_cast<HTMLDivElement*>(node);
|
| -}
|
| +DEFINE_NODE_TYPE_CASTS(HTMLDivElement, hasTagName(HTMLNames::divTag));
|
|
|
| } // namespace WebCore
|
|
|
|
|