| Index: Source/core/svg/SVGFilterElement.h | 
| diff --git a/Source/core/svg/SVGFilterElement.h b/Source/core/svg/SVGFilterElement.h | 
| index 57d1ec10655352f16137114280e9d21b1c3193c3..141bb8453b67b4a9c1879fe47b72fde4108590c8 100644 | 
| --- a/Source/core/svg/SVGFilterElement.h | 
| +++ b/Source/core/svg/SVGFilterElement.h | 
| @@ -24,6 +24,7 @@ | 
| #define SVGFilterElement_h | 
|  | 
| #if ENABLE(SVG) | 
| +#include "SVGNames.h" | 
| #include "core/svg/SVGAnimatedBoolean.h" | 
| #include "core/svg/SVGAnimatedEnumeration.h" | 
| #include "core/svg/SVGAnimatedInteger.h" | 
| @@ -77,6 +78,12 @@ private: | 
| END_DECLARE_ANIMATED_PROPERTIES | 
| }; | 
|  | 
| +inline SVGFilterElement* toSVGFilterElement(SVGElement* element) | 
| +{ | 
| +    ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::filterTag)); | 
| +    return static_cast<SVGFilterElement*>(element); | 
| +} | 
| + | 
| } | 
|  | 
| #endif | 
|  |