Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1146)

Unified Diff: Source/core/svg/SVGLocatable.cpp

Issue 18548003: Rename ExceptionCode constants to use the names in the spec (2/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGLength.cpp ('k') | Source/core/svg/SVGMatrix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/svg/SVGLength.cpp ('k') | Source/core/svg/SVGMatrix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698