| Index: Source/core/svg/SVGFELightElement.h
|
| diff --git a/Source/core/svg/SVGFELightElement.h b/Source/core/svg/SVGFELightElement.h
|
| index e8e898703ca8f0e1be955c756bd708dfa3680f7e..f9b287be03db5002b0511a9012446d531c4c1431 100644
|
| --- a/Source/core/svg/SVGFELightElement.h
|
| +++ b/Source/core/svg/SVGFELightElement.h
|
| @@ -22,6 +22,7 @@
|
| #ifndef SVGFELightElement_h
|
| #define SVGFELightElement_h
|
|
|
| +#include "SVGNames.h"
|
| #include "core/svg/SVGAnimatedNumber.h"
|
| #include "core/svg/SVGElement.h"
|
| #include "platform/graphics/filters/LightSource.h"
|
| @@ -59,6 +60,13 @@ private:
|
| END_DECLARE_ANIMATED_PROPERTIES
|
| };
|
|
|
| +inline bool isSVGFELightElement(const Node& node)
|
| +{
|
| + return node.hasTagName(SVGNames::feDistantLightTag) || node.hasTagName(SVGNames::fePointLightTag) || node.hasTagName(SVGNames::feSpotLightTag);
|
| +}
|
| +
|
| +DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(SVGFELightElement);
|
| +
|
| } // namespace WebCore
|
|
|
| #endif
|
|
|