summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSJavaScriptCallFrameCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSJavaScriptCallFrameCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSJavaScriptCallFrameCustom.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/bindings/js/JSJavaScriptCallFrameCustom.cpp b/WebCore/bindings/js/JSJavaScriptCallFrameCustom.cpp
index ce16b31..7c99120 100644
--- a/WebCore/bindings/js/JSJavaScriptCallFrameCustom.cpp
+++ b/WebCore/bindings/js/JSJavaScriptCallFrameCustom.cpp
@@ -33,10 +33,10 @@ using namespace JSC;
namespace WebCore {
-JSValue* JSJavaScriptCallFrame::evaluate(ExecState* exec, const ArgList& args)
+JSValuePtr JSJavaScriptCallFrame::evaluate(ExecState* exec, const ArgList& args)
{
- JSValue* exception = noValue();
- JSValue* result = impl()->evaluate(args.at(exec, 0)->toString(exec), exception);
+ JSValuePtr exception = noValue();
+ JSValuePtr result = impl()->evaluate(args.at(exec, 0).toString(exec), exception);
if (exception)
exec->setException(exception);
@@ -44,12 +44,12 @@ JSValue* JSJavaScriptCallFrame::evaluate(ExecState* exec, const ArgList& args)
return result;
}
-JSValue* JSJavaScriptCallFrame::thisObject(ExecState* exec) const
+JSValuePtr JSJavaScriptCallFrame::thisObject(ExecState*) const
{
return impl()->thisObject() ? impl()->thisObject() : jsNull();
}
-JSValue* JSJavaScriptCallFrame::type(ExecState* exec) const
+JSValuePtr JSJavaScriptCallFrame::type(ExecState* exec) const
{
switch (impl()->type()) {
case DebuggerCallFrame::FunctionType:
@@ -62,7 +62,7 @@ JSValue* JSJavaScriptCallFrame::type(ExecState* exec) const
return jsNull();
}
-JSValue* JSJavaScriptCallFrame::scopeChain(ExecState* exec) const
+JSValuePtr JSJavaScriptCallFrame::scopeChain(ExecState* exec) const
{
if (!impl()->scopeChain())
return jsNull();