summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSNodeIteratorCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSNodeIteratorCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSNodeIteratorCustom.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/WebCore/bindings/js/JSNodeIteratorCustom.cpp b/WebCore/bindings/js/JSNodeIteratorCustom.cpp
index 6a09abf..7c858e5 100644
--- a/WebCore/bindings/js/JSNodeIteratorCustom.cpp
+++ b/WebCore/bindings/js/JSNodeIteratorCustom.cpp
@@ -37,34 +37,4 @@ void JSNodeIterator::markChildren(MarkStack& markStack)
filter->markAggregate(markStack);
}
-JSValue JSNodeIterator::nextNode(ExecState* exec, const ArgList&)
-{
- ExceptionCode ec = 0;
- RefPtr<Node> node = impl()->nextNode(exec, ec);
- if (ec) {
- setDOMException(exec, ec);
- return jsUndefined();
- }
-
- if (exec->hadException())
- return jsUndefined();
-
- return toJS(exec, node.get());
-}
-
-JSValue JSNodeIterator::previousNode(ExecState* exec, const ArgList&)
-{
- ExceptionCode ec = 0;
- RefPtr<Node> node = impl()->previousNode(exec, ec);
- if (ec) {
- setDOMException(exec, ec);
- return jsUndefined();
- }
-
- if (exec->hadException())
- return jsUndefined();
-
- return toJS(exec, node.get());
-}
-
}