| Index: Source/core/dom/TreeWalker.h
|
| diff --git a/Source/core/dom/TreeWalker.h b/Source/core/dom/TreeWalker.h
|
| index f5bcf8199125e6f71e040a015120ca1fd323afeb..0fce42fb964922531ccffad8e6dfe8c8fd79a46a 100644
|
| --- a/Source/core/dom/TreeWalker.h
|
| +++ b/Source/core/dom/TreeWalker.h
|
| @@ -53,16 +53,6 @@ namespace WebCore {
|
| Node* previousNode(ScriptState*);
|
| Node* nextNode(ScriptState*);
|
|
|
| - // 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.
|
| - Node* parentNode() { return parentNode(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); }
|
| - Node* firstChild() { return firstChild(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); }
|
| - Node* lastChild() { return lastChild(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); }
|
| - Node* previousSibling() { return previousSibling(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); }
|
| - Node* nextSibling() { return nextSibling(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); }
|
| - Node* previousNode() { return previousNode(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); }
|
| - Node* nextNode() { return nextNode(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); }
|
| -
|
| private:
|
| TreeWalker(PassRefPtr<Node>, unsigned whatToShow, PassRefPtr<NodeFilter>, bool expandEntityReferences);
|
|
|
|
|