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

Unified Diff: Source/core/svg/SVGMatrix.h

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/SVGLocatable.cpp ('k') | Source/core/svg/properties/SVGTransformListPropertyTearOff.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGMatrix.h
diff --git a/Source/core/svg/SVGMatrix.h b/Source/core/svg/SVGMatrix.h
index edbe92d06f1821864346b2926eb338b6917c8478..5b5a5411235e01dfcd504f2e24e9724cd3f1f153 100644
--- a/Source/core/svg/SVGMatrix.h
+++ b/Source/core/svg/SVGMatrix.h
@@ -111,7 +111,7 @@ public:
// FIXME: This used to have a more specific error message:
// "An attempt was made to invert a matrix that is not invertible."
// When switching to SVG2 style exceptions we lost this information.
- ec = INVALID_STATE_ERR;
+ ec = InvalidStateError;
}
return transform;
@@ -120,7 +120,7 @@ public:
SVGMatrix rotateFromVector(double x, double y, ExceptionCode& ec)
{
if (!x || !y)
- ec = INVALID_ACCESS_ERR;
+ ec = InvalidAccessError;
AffineTransform copy = *this;
copy.rotateFromVector(x, y);
« no previous file with comments | « Source/core/svg/SVGLocatable.cpp ('k') | Source/core/svg/properties/SVGTransformListPropertyTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698