Index: third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp |
index dbf42f3a8f7582731307a0769649f74524d9eb0e..a904821ef2e6a1ecdc4e500bd5ec3a12512cfa4c 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp |
@@ -71,16 +71,16 @@ bool SVGFEDiffuseLightingElement::setFilterEffectAttribute(FilterEffect* effect, |
const SVGFELightElement* lightElement = SVGFELightElement::findLightElement(*this); |
ASSERT(lightSource); |
ASSERT(lightElement); |
- ASSERT(effect->filter()); |
+ ASSERT(effect->getFilter()); |
if (attrName == SVGNames::azimuthAttr) |
return lightSource->setAzimuth(lightElement->azimuth()->currentValue()->value()); |
if (attrName == SVGNames::elevationAttr) |
return lightSource->setElevation(lightElement->elevation()->currentValue()->value()); |
if (attrName == SVGNames::xAttr || attrName == SVGNames::yAttr || attrName == SVGNames::zAttr) |
- return lightSource->setPosition(effect->filter()->resolve3dPoint(lightElement->position())); |
+ return lightSource->setPosition(effect->getFilter()->resolve3dPoint(lightElement->position())); |
if (attrName == SVGNames::pointsAtXAttr || attrName == SVGNames::pointsAtYAttr || attrName == SVGNames::pointsAtZAttr) |
- return lightSource->setPointsAt(effect->filter()->resolve3dPoint(lightElement->pointsAt())); |
+ return lightSource->setPointsAt(effect->getFilter()->resolve3dPoint(lightElement->pointsAt())); |
if (attrName == SVGNames::specularExponentAttr) |
return lightSource->setSpecularExponent(lightElement->specularExponent()->currentValue()->value()); |
if (attrName == SVGNames::limitingConeAngleAttr) |