Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index d96e03c890fdb84ef99268e100d111022ae196ac..cc972971adb49ab40313322b348c2954a1218d47 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -195,10 +195,10 @@ public: |
// These should all actually return a node, but this is only important for language bindings, |
// which will already know and hold a ref on the right node to return. |
- void insertBefore(PassRefPtrWillBeRawPtr<Node> newChild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION); |
+ PassRefPtrWillBeRawPtr<Node> insertBefore(PassRefPtrWillBeRawPtr<Node> newChild, Node* refChild, ExceptionState& = ASSERT_NO_EXCEPTION); |
void replaceChild(PassRefPtrWillBeRawPtr<Node> newChild, Node* oldChild, ExceptionState& = ASSERT_NO_EXCEPTION); |
void removeChild(Node* child, ExceptionState&); |
- void appendChild(PassRefPtrWillBeRawPtr<Node> newChild, ExceptionState& = ASSERT_NO_EXCEPTION); |
+ PassRefPtrWillBeRawPtr<Node> appendChild(PassRefPtrWillBeRawPtr<Node> newChild, ExceptionState& = ASSERT_NO_EXCEPTION); |
bool hasChildren() const { return firstChild(); } |
virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = false) = 0; |