| Index: Source/core/svg/SVGUseElement.h
|
| diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h
|
| index b659fac777720bee1bb1f9bc6798a6f67cf753b8..942a3e5c94014e1ef2b6915697c92dab157ac25b 100644
|
| --- a/Source/core/svg/SVGUseElement.h
|
| +++ b/Source/core/svg/SVGUseElement.h
|
| @@ -21,6 +21,7 @@
|
| #ifndef SVGUseElement_h
|
| #define SVGUseElement_h
|
|
|
| +#include "SVGNames.h"
|
| #include "core/loader/cache/CachedDocument.h"
|
| #include "core/svg/SVGAnimatedBoolean.h"
|
| #include "core/svg/SVGAnimatedLength.h"
|
| @@ -124,6 +125,12 @@ private:
|
| Timer<SVGElement> m_svgLoadEventTimer;
|
| };
|
|
|
| +inline SVGUseElement* toSVGUseElement(Node* node)
|
| +{
|
| + ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::useTag));
|
| + return static_cast<SVGUseElement*>(node);
|
| +}
|
| +
|
| }
|
|
|
| #endif
|
|
|