Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
index 498884cb78bf4cbfea50cd69c0c751ff2c87cf63..c59b8dd714a5b480fdba7bf32ed3c3966c15b896 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
@@ -579,7 +579,7 @@ void CanvasRenderingContext2D::setCurrentTransform(PassRefPtr<SVGMatrixTearOff> |
// FIXME: bindings should do null checking and throw: http://crbug.com/321518 |
if (!matrixTearOff) { |
- exceptionState.throwDOMException(TypeError, "currentTransform only accepts a SVGMatrix."); |
+ exceptionState.throwTypeError("currentTransform only accepts a SVGMatrix."); |
return; |
} |