| Index: Source/core/dom/NodeFilter.h
|
| diff --git a/Source/core/dom/NodeFilter.h b/Source/core/dom/NodeFilter.h
|
| index 49ed954da9de90c23ba856e4d0c4b351a42380d0..8866ba6f4c1fd6763ee44278e828c47e730aa5a0 100644
|
| --- a/Source/core/dom/NodeFilter.h
|
| +++ b/Source/core/dom/NodeFilter.h
|
| @@ -25,7 +25,6 @@
|
| #ifndef NodeFilter_h
|
| #define NodeFilter_h
|
|
|
| -#include "bindings/v8/DOMWrapperWorld.h"
|
| #include "core/dom/NodeFilterCondition.h"
|
| #include <wtf/RefPtr.h>
|
|
|
| @@ -77,12 +76,6 @@ namespace WebCore {
|
|
|
| short acceptNode(ScriptState*, Node*) const;
|
|
|
| - // 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.
|
| - short acceptNode(Node* node) const { return acceptNode(scriptStateFromNode(mainThreadNormalWorld(), node), node); }
|
| -
|
| - void setCondition(PassRefPtr<NodeFilterCondition> condition) { ASSERT(!m_condition); m_condition = condition; }
|
| -
|
| private:
|
| explicit NodeFilter(PassRefPtr<NodeFilterCondition> condition) : m_condition(condition) { }
|
| NodeFilter() {}
|
|
|