Index: Source/core/dom/NodeIterator.h |
diff --git a/Source/core/dom/NodeIterator.h b/Source/core/dom/NodeIterator.h |
index 7db7758544d3c455bc0a621a226e58afa8117159..cb81a01dab748351415eb72a22cc2275a23ca8c5 100644 |
--- a/Source/core/dom/NodeIterator.h |
+++ b/Source/core/dom/NodeIterator.h |
@@ -53,11 +53,6 @@ namespace WebCore { |
// This function is called before any node is removed from the document tree. |
void nodeWillBeRemoved(Node*); |
- // Do not call these functions. They are just scaffolding to support the Objective-C bindings. |
- // They operate in the main thread normal world, and they swallow JS exceptions. |
- PassRefPtr<Node> nextNode(ExceptionCode& ec) { return nextNode(scriptStateFromNode(mainThreadNormalWorld(), referenceNode()), ec); } |
- PassRefPtr<Node> previousNode(ExceptionCode& ec) { return previousNode(scriptStateFromNode(mainThreadNormalWorld(), referenceNode()), ec); } |
- |
private: |
NodeIterator(PassRefPtr<Node>, unsigned whatToShow, PassRefPtr<NodeFilter>, bool expandEntityReferences); |