diff options
Diffstat (limited to 'Source/WebCore/bindings/js/JSSVGLengthCustom.cpp')
-rw-r--r-- | Source/WebCore/bindings/js/JSSVGLengthCustom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/bindings/js/JSSVGLengthCustom.cpp b/Source/WebCore/bindings/js/JSSVGLengthCustom.cpp index 7057b2189..02ea9d636 100644 --- a/Source/WebCore/bindings/js/JSSVGLengthCustom.cpp +++ b/Source/WebCore/bindings/js/JSSVGLengthCustom.cpp @@ -81,7 +81,7 @@ JSValue JSSVGLength::convertToSpecifiedUnits(ExecState* exec) SVGLength& podImp = impl()->propertyReference(); if (exec->argumentCount() < 1) - return throwError(exec, createSyntaxError(exec, "Not enough arguments")); + return throwError(exec, createNotEnoughArgumentsError(exec)); unsigned short unitType = exec->argument(0).toUInt32(exec); if (exec->hadException()) |