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); |