diff options
Diffstat (limited to 'WebCore/bindings/js/JSNodeIteratorCustom.cpp')
-rw-r--r-- | WebCore/bindings/js/JSNodeIteratorCustom.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/bindings/js/JSNodeIteratorCustom.cpp b/WebCore/bindings/js/JSNodeIteratorCustom.cpp index 8fff82e..6a09abf 100644 --- a/WebCore/bindings/js/JSNodeIteratorCustom.cpp +++ b/WebCore/bindings/js/JSNodeIteratorCustom.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. + * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -29,12 +29,12 @@ using namespace JSC; namespace WebCore { -void JSNodeIterator::mark() +void JSNodeIterator::markChildren(MarkStack& markStack) { + Base::markChildren(markStack); + if (NodeFilter* filter = m_impl->filter()) - filter->mark(); - - DOMObject::mark(); + filter->markAggregate(markStack); } JSValue JSNodeIterator::nextNode(ExecState* exec, const ArgList&) |