summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSSVGLengthCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSSVGLengthCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSSVGLengthCustom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/bindings/js/JSSVGLengthCustom.cpp b/WebCore/bindings/js/JSSVGLengthCustom.cpp
index 33bbf30..c7cfdb0 100644
--- a/WebCore/bindings/js/JSSVGLengthCustom.cpp
+++ b/WebCore/bindings/js/JSSVGLengthCustom.cpp
@@ -35,13 +35,13 @@ JSValue JSSVGLength::value(ExecState* exec) const
return jsNumber(exec, podImp.value(context));
}
-JSValue JSSVGLength::convertToSpecifiedUnits(ExecState* exec, const ArgList& args)
+JSValue JSSVGLength::convertToSpecifiedUnits(ExecState* exec)
{
JSSVGPODTypeWrapper<SVGLength>* imp = impl();
SVGElement* context = JSSVGContextCache::svgContextForDOMObject(this);
SVGLength podImp(*imp);
- podImp.convertToSpecifiedUnits(args.at(0).toInt32(exec), context);
+ podImp.convertToSpecifiedUnits(exec->argument(0).toInt32(exec), context);
imp->commitChange(podImp, this);
return jsUndefined();