Index: Source/core/html/canvas/Path2D.h |
diff --git a/Source/core/html/canvas/Path2D.h b/Source/core/html/canvas/Path2D.h |
index bc886639a4a67b0299a31434d9f4743c45ef47ad..f988ded4c56e65b55dee73f2d6e5555fcdfff028 100644 |
--- a/Source/core/html/canvas/Path2D.h |
+++ b/Source/core/html/canvas/Path2D.h |
@@ -53,7 +53,7 @@ public: |
void addPath(Path2D* path, SVGMatrixTearOff* transform, ExceptionState& exceptionState) |
{ |
if (!path) { |
- exceptionState.throwDOMException(TypeMismatchError, ExceptionMessages::argumentNullOrIncorrectType(1, "Path")); |
+ exceptionState.throwTypeError(ExceptionMessages::argumentNullOrIncorrectType(1, "Path")); |
return; |
} |
Path src = path->path(); |