| Index: Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| diff --git a/Source/core/svg/graphics/filters/SVGFEImage.cpp b/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| index c99c51d76ffe1e543936678baa4d2dfcd873d383..c7d753edff56321f466dc96a4f280b13fb6c79fb 100644
|
| --- a/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| +++ b/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| @@ -33,8 +33,8 @@
|
| #include "core/rendering/RenderObject.h"
|
| #include "core/rendering/RenderTreeAsText.h"
|
| #include "core/rendering/svg/SVGRenderingContext.h"
|
| +#include "core/svg/SVGElement.h"
|
| #include "core/svg/SVGPreserveAspectRatio.h"
|
| -#include "core/svg/SVGStyledElement.h"
|
| #include "core/svg/SVGURIReference.h"
|
|
|
| namespace WebCore {
|
| @@ -120,7 +120,7 @@ void FEImage::applySoftware()
|
|
|
| if (renderer) {
|
| SVGElement* contextNode = toSVGElement(renderer->node());
|
| - if (contextNode->isSVGStyledElement() && toSVGStyledElement(contextNode)->hasRelativeLengths()) {
|
| + if (contextNode->hasRelativeLengths()) {
|
| SVGLengthContext lengthContext(contextNode);
|
| float width = 0;
|
| float height = 0;
|
|
|