| Index: Source/core/svg/SVGMaskElement.h
|
| diff --git a/Source/core/svg/SVGMaskElement.h b/Source/core/svg/SVGMaskElement.h
|
| index 6e7098b718744eac3816616b0d5c9f759945f3c8..2e29c5ed68eea30c6cc21f3973615b6afb99f196 100644
|
| --- a/Source/core/svg/SVGMaskElement.h
|
| +++ b/Source/core/svg/SVGMaskElement.h
|
| @@ -20,6 +20,7 @@
|
| #ifndef SVGMaskElement_h
|
| #define SVGMaskElement_h
|
|
|
| +#include "SVGNames.h"
|
| #include "core/svg/SVGAnimatedBoolean.h"
|
| #include "core/svg/SVGAnimatedEnumeration.h"
|
| #include "core/svg/SVGAnimatedLength.h"
|
| @@ -68,6 +69,12 @@ private:
|
| virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLanguage(this); }
|
| };
|
|
|
| +inline SVGMaskElement* toSVGMaskElement(Node* node)
|
| +{
|
| + ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::maskTag));
|
| + return static_cast<SVGMaskElement*>(node);
|
| +}
|
| +
|
| }
|
|
|
| #endif
|
|
|