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

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

Issue 24469004: Amusingly deprecate the generic version of 'ExceptionState::throwDOMException'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/SVGPaint.cpp » ('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 7451d32a239aaaf67d19683494a47b7158dcab0a..e892b2d51f043470e8aede77e8b81df5d6e7587e 100644
--- a/Source/core/svg/SVGMatrix.h
+++ b/Source/core/svg/SVGMatrix.h
@@ -110,7 +110,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.
- es.throwDOMException(InvalidStateError);
+ es.throwUninformativeAndGenericDOMException(InvalidStateError);
}
return transform;
@@ -119,7 +119,7 @@ public:
SVGMatrix rotateFromVector(double x, double y, ExceptionState& es)
{
if (!x || !y)
- es.throwDOMException(InvalidAccessError);
+ es.throwUninformativeAndGenericDOMException(InvalidAccessError);
AffineTransform copy = *this;
copy.rotateFromVector(x, y);
« no previous file with comments | « Source/core/svg/SVGLocatable.cpp ('k') | Source/core/svg/SVGPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698