Index: Source/core/dom/NodeIterator.h |
diff --git a/Source/core/dom/NodeIterator.h b/Source/core/dom/NodeIterator.h |
index 4c504bf75c2d76258aeda16eb2f7ae80e1f5b46c..1f06a57c3e4726af5edf85404d044cb9e3adb133 100644 |
--- a/Source/core/dom/NodeIterator.h |
+++ b/Source/core/dom/NodeIterator.h |
@@ -51,7 +51,7 @@ public: |
bool pointerBeforeReferenceNode() const { return m_referenceNode.isPointerBeforeNode; } |
// This function is called before any node is removed from the document tree. |
- void nodeWillBeRemoved(Node*); |
+ void nodeWillBeRemoved(Node&); |
private: |
NodeIterator(PassRefPtr<Node>, unsigned whatToShow, PassRefPtr<NodeFilter>); |
@@ -66,7 +66,7 @@ private: |
bool moveToPrevious(Node* root); |
}; |
- void updateForNodeRemoval(Node* nodeToBeRemoved, NodePointer&) const; |
+ void updateForNodeRemoval(Node& nodeToBeRemoved, NodePointer&) const; |
NodePointer m_referenceNode; |
NodePointer m_candidateNode; |