diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/bindings/js/JSSVGLengthCustom.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/bindings/js/JSSVGLengthCustom.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/webkit/WebCore/bindings/js/JSSVGLengthCustom.cpp b/src/3rdparty/webkit/WebCore/bindings/js/JSSVGLengthCustom.cpp index 6dd8507e7b..bad52ae698 100644 --- a/src/3rdparty/webkit/WebCore/bindings/js/JSSVGLengthCustom.cpp +++ b/src/3rdparty/webkit/WebCore/bindings/js/JSSVGLengthCustom.cpp @@ -26,18 +26,18 @@ using namespace JSC; namespace WebCore { -JSValuePtr JSSVGLength::value(ExecState* exec) const +JSValue JSSVGLength::value(ExecState* exec) const { SVGLength imp(*impl()); return jsNumber(exec, imp.value(context())); } -JSValuePtr JSSVGLength::convertToSpecifiedUnits(ExecState* exec, const ArgList& args) +JSValue JSSVGLength::convertToSpecifiedUnits(ExecState* exec, const ArgList& args) { JSSVGPODTypeWrapper<SVGLength>* wrapper = impl(); SVGLength imp(*wrapper); - imp.convertToSpecifiedUnits(args.at(exec, 0)->toInt32(exec), context()); + imp.convertToSpecifiedUnits(args.at(0).toInt32(exec), context()); wrapper->commitChange(imp, context()); return jsUndefined(); |