| Index: Source/core/html/HTMLSummaryElement.h
|
| diff --git a/Source/core/html/HTMLSummaryElement.h b/Source/core/html/HTMLSummaryElement.h
|
| index 01316113eb48e8c31e30ead681d3c9e6d041df6d..780a30f2735c3c5a02fdfe1e1821a98fa721264c 100644
|
| --- a/Source/core/html/HTMLSummaryElement.h
|
| +++ b/Source/core/html/HTMLSummaryElement.h
|
| @@ -44,11 +44,7 @@ private:
|
| bool supportsFocus() const OVERRIDE;
|
| };
|
|
|
| -inline HTMLSummaryElement* toHTMLSummaryElement(Node* node)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::summaryTag));
|
| - return static_cast<HTMLSummaryElement*>(node);
|
| -}
|
| +DEFINE_NODE_TYPE_CASTS(HTMLSummaryElement, hasTagName(HTMLNames::summaryTag));
|
|
|
| }
|
|
|
|
|