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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/bindings/js/JSSVGLengthCustom.cpp b/WebCore/bindings/js/JSSVGLengthCustom.cpp
index f199517..edba220 100644
--- a/WebCore/bindings/js/JSSVGLengthCustom.cpp
+++ b/WebCore/bindings/js/JSSVGLengthCustom.cpp
@@ -26,18 +26,18 @@ using namespace JSC;
namespace WebCore {
-JSValue* JSSVGLength::value(ExecState* exec) const
+JSValuePtr JSSVGLength::value(ExecState* exec) const
{
SVGLength imp(*impl());
return jsNumber(exec, imp.value(context()));
}
-JSValue* JSSVGLength::convertToSpecifiedUnits(ExecState* exec, const ArgList& args)
+JSValuePtr 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(exec, 0).toInt32(exec), context());
wrapper->commitChange(imp, context());
return jsUndefined();