| Index: Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
|
| diff --git a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
|
| index 6aa2fd041841d817fe9a188732b5b1d2d84145a4..cfcc358acac9aa0c9e57cde750c60d264fd340a3 100644
|
| --- a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
|
| +++ b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
|
| @@ -28,7 +28,6 @@
|
| #include "core/rendering/svg/RenderSVGResourceFilterPrimitive.h"
|
| #include "core/svg/SVGElementInstance.h"
|
| #include "core/svg/SVGLength.h"
|
| -#include "core/svg/SVGStyledElement.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -45,11 +44,11 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(width)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(height)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(result)
|
| - REGISTER_PARENT_ANIMATED_PROPERTIES(SVGStyledElement)
|
| + REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement)
|
| END_REGISTER_ANIMATED_PROPERTIES
|
|
|
| SVGFilterPrimitiveStandardAttributes::SVGFilterPrimitiveStandardAttributes(const QualifiedName& tagName, Document* document)
|
| - : SVGStyledElement(tagName, document)
|
| + : SVGElement(tagName, document)
|
| , m_x(LengthModeWidth, "0%")
|
| , m_y(LengthModeHeight, "0%")
|
| , m_width(LengthModeWidth, "100%")
|
| @@ -78,7 +77,7 @@ void SVGFilterPrimitiveStandardAttributes::parseAttribute(const QualifiedName& n
|
| SVGParsingError parseError = NoError;
|
|
|
| if (!isSupportedAttribute(name))
|
| - SVGStyledElement::parseAttribute(name, value);
|
| + SVGElement::parseAttribute(name, value);
|
| else if (name == SVGNames::xAttr)
|
| setXBaseValue(SVGLength::construct(LengthModeWidth, value, parseError));
|
| else if (name == SVGNames::yAttr)
|
| @@ -105,7 +104,7 @@ bool SVGFilterPrimitiveStandardAttributes::setFilterEffectAttribute(FilterEffect
|
| void SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(const QualifiedName& attrName)
|
| {
|
| if (!isSupportedAttribute(attrName)) {
|
| - SVGStyledElement::svgAttributeChanged(attrName);
|
| + SVGElement::svgAttributeChanged(attrName);
|
| return;
|
| }
|
|
|
| @@ -115,7 +114,7 @@ void SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(const QualifiedNa
|
|
|
| void SVGFilterPrimitiveStandardAttributes::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
|
| {
|
| - SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
|
| + SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
|
|
|
| if (!changedByParser)
|
| invalidate();
|
| @@ -145,7 +144,7 @@ RenderObject* SVGFilterPrimitiveStandardAttributes::createRenderer(RenderStyle*)
|
| bool SVGFilterPrimitiveStandardAttributes::rendererIsNeeded(const NodeRenderingContext& context)
|
| {
|
| if (parentNode() && (parentNode()->hasTagName(SVGNames::filterTag)))
|
| - return SVGStyledElement::rendererIsNeeded(context);
|
| + return rendererIsNeededInternal(context);
|
|
|
| return false;
|
| }
|
|
|