| Index: Source/core/html/HTMLStyleElement.h
|
| diff --git a/Source/core/html/HTMLStyleElement.h b/Source/core/html/HTMLStyleElement.h
|
| index 252d4412c1e2c04f3b9f641a337da23e3bba33e0..48a09376737bcf909085999a01bed190cac3326e 100644
|
| --- a/Source/core/html/HTMLStyleElement.h
|
| +++ b/Source/core/html/HTMLStyleElement.h
|
| @@ -109,11 +109,7 @@ inline bool isHTMLStyleElement(Node* node)
|
| return node->hasTagName(HTMLNames::styleTag);
|
| }
|
|
|
| -inline HTMLStyleElement* toHTMLStyleElement(Node* node)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::styleTag));
|
| - return static_cast<HTMLStyleElement*>(node);
|
| -}
|
| +DEFINE_NODE_TYPE_CASTS(HTMLStyleElement, hasTagName(HTMLNames::styleTag));
|
|
|
| } //namespace
|
|
|
|
|