Index: Source/core/svg/SVGLocatable.cpp |
diff --git a/Source/core/svg/SVGLocatable.cpp b/Source/core/svg/SVGLocatable.cpp |
index d34a49a7a0e2c6ba9147d2c6c687e235e8bf47a0..20cd2dd2988f88f8c820c26b602e8fe1bf21e2da 100644 |
--- a/Source/core/svg/SVGLocatable.cpp |
+++ b/Source/core/svg/SVGLocatable.cpp |
@@ -27,7 +27,7 @@ |
#include "SVGNames.h" |
#include "core/dom/ExceptionCode.h" |
#include "core/rendering/RenderObject.h" |
-#include "core/svg/SVGStyledLocatableElement.h" |
+#include "core/svg/SVGGraphicsElement.h" |
namespace WebCore { |
@@ -102,8 +102,8 @@ AffineTransform SVGLocatable::getTransformToElement(SVGElement* target, Exceptio |
{ |
AffineTransform ctm = getCTM(styleUpdateStrategy); |
- if (target && target->isStyledLocatable()) { |
- AffineTransform targetCTM = toSVGStyledLocatableElement(target)->getCTM(styleUpdateStrategy); |
+ if (target && target->isSVGGraphicsElement()) { |
+ AffineTransform targetCTM = toSVGGraphicsElement(target)->getCTM(styleUpdateStrategy); |
if (!targetCTM.isInvertible()) { |
ec = INVALID_STATE_ERR; |
return ctm; |