| Index: Source/core/html/canvas/Path2D.h
|
| diff --git a/Source/core/html/canvas/Path2D.h b/Source/core/html/canvas/Path2D.h
|
| index 060c0a87bdd3e0cff6ab439c069a8ab4e6b36269..f09839bb1e97de9f7b05c5ba8f66f7f7b685bbf2 100644
|
| --- a/Source/core/html/canvas/Path2D.h
|
| +++ b/Source/core/html/canvas/Path2D.h
|
| @@ -49,17 +49,13 @@ public:
|
|
|
| const Path& path() const { return m_path; }
|
|
|
| - void addPath(Path2D* path, ExceptionState& exceptionState)
|
| + void addPath(Path2D* path)
|
| {
|
| - addPath(path, 0, exceptionState);
|
| + addPath(path, 0);
|
| }
|
|
|
| - void addPath(Path2D* path, SVGMatrixTearOff* transform, ExceptionState& exceptionState)
|
| + void addPath(Path2D* path, SVGMatrixTearOff* transform)
|
| {
|
| - if (!path) {
|
| - exceptionState.throwTypeError(ExceptionMessages::argumentNullOrIncorrectType(1, "Path"));
|
| - return;
|
| - }
|
| Path src = path->path();
|
| m_path.addPath(src, transform ? transform->value() : AffineTransform(1, 0, 0, 1, 0, 0));
|
| }
|
|
|