summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSNodeCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSNodeCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSNodeCustom.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/WebCore/bindings/js/JSNodeCustom.cpp b/WebCore/bindings/js/JSNodeCustom.cpp
index c40777b..2b4d6d4 100644
--- a/WebCore/bindings/js/JSNodeCustom.cpp
+++ b/WebCore/bindings/js/JSNodeCustom.cpp
@@ -66,7 +66,7 @@ namespace WebCore {
typedef int ExpectionCode;
-JSValue* JSNode::insertBefore(ExecState* exec, const ArgList& args)
+JSValuePtr JSNode::insertBefore(ExecState* exec, const ArgList& args)
{
ExceptionCode ec = 0;
bool ok = impl()->insertBefore(toNode(args.at(exec, 0)), toNode(args.at(exec, 1)), ec, true);
@@ -76,7 +76,7 @@ JSValue* JSNode::insertBefore(ExecState* exec, const ArgList& args)
return jsNull();
}
-JSValue* JSNode::replaceChild(ExecState* exec, const ArgList& args)
+JSValuePtr JSNode::replaceChild(ExecState* exec, const ArgList& args)
{
ExceptionCode ec = 0;
bool ok = impl()->replaceChild(toNode(args.at(exec, 0)), toNode(args.at(exec, 1)), ec, true);
@@ -86,7 +86,7 @@ JSValue* JSNode::replaceChild(ExecState* exec, const ArgList& args)
return jsNull();
}
-JSValue* JSNode::removeChild(ExecState* exec, const ArgList& args)
+JSValuePtr JSNode::removeChild(ExecState* exec, const ArgList& args)
{
ExceptionCode ec = 0;
bool ok = impl()->removeChild(toNode(args.at(exec, 0)), ec);
@@ -96,7 +96,7 @@ JSValue* JSNode::removeChild(ExecState* exec, const ArgList& args)
return jsNull();
}
-JSValue* JSNode::appendChild(ExecState* exec, const ArgList& args)
+JSValuePtr JSNode::appendChild(ExecState* exec, const ArgList& args)
{
ExceptionCode ec = 0;
bool ok = impl()->appendChild(toNode(args.at(exec, 0)), ec, true);
@@ -112,7 +112,7 @@ void JSNode::mark()
Node* node = m_impl.get();
- // Nodes in the document are kept alive by ScriptInterpreter::mark,
+ // Nodes in the document are kept alive by JSDocument::mark,
// so we have no special responsibilities and can just call the base class here.
if (node->inDocument()) {
// But if the document isn't marked we have to mark it to ensure that
@@ -161,7 +161,7 @@ void JSNode::mark()
ASSERT(marked());
}
-static ALWAYS_INLINE JSValue* createWrapper(ExecState* exec, Node* node)
+static ALWAYS_INLINE JSValuePtr createWrapper(ExecState* exec, Node* node)
{
ASSERT(node);
ASSERT(!getCachedDOMNodeWrapper(node->document(), node));
@@ -218,7 +218,7 @@ static ALWAYS_INLINE JSValue* createWrapper(ExecState* exec, Node* node)
return wrapper;
}
-JSValue* toJSNewlyCreated(ExecState* exec, Node* node)
+JSValuePtr toJSNewlyCreated(ExecState* exec, Node* node)
{
if (!node)
return jsNull();
@@ -226,7 +226,7 @@ JSValue* toJSNewlyCreated(ExecState* exec, Node* node)
return createWrapper(exec, node);
}
-JSValue* toJS(ExecState* exec, Node* node)
+JSValuePtr toJS(ExecState* exec, Node* node)
{
if (!node)
return jsNull();