summaryrefslogtreecommitdiffstats
path: root/WebCore/bridge/runtime_method.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bridge/runtime_method.cpp')
-rw-r--r--WebCore/bridge/runtime_method.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/bridge/runtime_method.cpp b/WebCore/bridge/runtime_method.cpp
index b855081..eb0fae4 100644
--- a/WebCore/bridge/runtime_method.cpp
+++ b/WebCore/bridge/runtime_method.cpp
@@ -47,7 +47,7 @@ RuntimeMethod::RuntimeMethod(ExecState* exec, const Identifier& ident, Bindings:
{
}
-JSValue* RuntimeMethod::lengthGetter(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValuePtr RuntimeMethod::lengthGetter(ExecState* exec, const Identifier&, const PropertySlot& slot)
{
RuntimeMethod* thisObj = static_cast<RuntimeMethod*>(asObject(slot.slotBase()));
@@ -70,7 +70,7 @@ bool RuntimeMethod::getOwnPropertySlot(ExecState* exec, const Identifier& proper
return InternalFunction::getOwnPropertySlot(exec, propertyName, slot);
}
-static JSValue* callRuntimeMethod(ExecState* exec, JSObject* function, JSValue* thisValue, const ArgList& args)
+static JSValuePtr callRuntimeMethod(ExecState* exec, JSObject* function, JSValuePtr thisValue, const ArgList& args)
{
RuntimeMethod* method = static_cast<RuntimeMethod*>(function);
@@ -79,13 +79,13 @@ static JSValue* callRuntimeMethod(ExecState* exec, JSObject* function, JSValue*
RuntimeObjectImp* imp;
- if (thisValue->isObject(&RuntimeObjectImp::s_info)) {
+ if (thisValue.isObject(&RuntimeObjectImp::s_info)) {
imp = static_cast<RuntimeObjectImp*>(asObject(thisValue));
} else {
// If thisObj is the DOM object for a plugin, get the corresponding
// runtime object from the DOM object.
- JSValue* value = thisValue->get(exec, Identifier(exec, "__apple_runtime_object"));
- if (value->isObject(&RuntimeObjectImp::s_info))
+ JSValuePtr value = thisValue.get(exec, Identifier(exec, "__apple_runtime_object"));
+ if (value.isObject(&RuntimeObjectImp::s_info))
imp = static_cast<RuntimeObjectImp*>(asObject(value));
else
return throwError(exec, TypeError);
@@ -96,7 +96,7 @@ static JSValue* callRuntimeMethod(ExecState* exec, JSObject* function, JSValue*
return RuntimeObjectImp::throwInvalidAccessError(exec);
instance->begin();
- JSValue* result = instance->invokeMethod(exec, *method->methods(), args);
+ JSValuePtr result = instance->invokeMethod(exec, *method->methods(), args);
instance->end();
return result;
}