| Index: Source/core/dom/NodeList.h
|
| diff --git a/Source/core/dom/NodeList.h b/Source/core/dom/NodeList.h
|
| index ab50dd22ed1e7ad25e58e40fc868a9f9d845d935..7581db799b3dc95da18d3b03e6cb088e1e468011 100644
|
| --- a/Source/core/dom/NodeList.h
|
| +++ b/Source/core/dom/NodeList.h
|
| @@ -24,15 +24,14 @@
|
| #ifndef NodeList_h
|
| #define NodeList_h
|
|
|
| +#include "bindings/core/v8/Iterable.h"
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/CoreExport.h"
|
| #include "wtf/RefCounted.h"
|
|
|
| namespace blink {
|
|
|
| -class Node;
|
| -
|
| -class CORE_EXPORT NodeList : public RefCountedWillBeGarbageCollectedFinalized<NodeList>, public ScriptWrappable {
|
| +class CORE_EXPORT NodeList : public RefCountedWillBeGarbageCollectedFinalized<NodeList>, public ScriptWrappable, public ValueIterable<Node*> {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| virtual ~NodeList() { }
|
| @@ -51,6 +50,9 @@ public:
|
|
|
| protected:
|
| NodeList() { }
|
| +
|
| +private:
|
| + IterationSource* startIteration(ScriptState*, ExceptionState&) override;
|
| };
|
|
|
| } // namespace blink
|
|
|