Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Unified Diff: Source/core/dom/NodeFilter.h

Issue 13844022: Remove code to support Objective-C bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {}

Powered by Google App Engine
This is Rietveld 408576698