Index: Source/core/svg/SVGLocatable.cpp |
diff --git a/Source/core/svg/SVGLocatable.cpp b/Source/core/svg/SVGLocatable.cpp |
index 20cd2dd2988f88f8c820c26b602e8fe1bf21e2da..fdc387836e2ba7aa41c6f53980125b7a0f627677 100644 |
--- a/Source/core/svg/SVGLocatable.cpp |
+++ b/Source/core/svg/SVGLocatable.cpp |
@@ -105,7 +105,7 @@ AffineTransform SVGLocatable::getTransformToElement(SVGElement* target, Exceptio |
if (target && target->isSVGGraphicsElement()) { |
AffineTransform targetCTM = toSVGGraphicsElement(target)->getCTM(styleUpdateStrategy); |
if (!targetCTM.isInvertible()) { |
- ec = INVALID_STATE_ERR; |
+ ec = InvalidStateError; |
return ctm; |
} |
ctm = targetCTM.inverse() * ctm; |