Chromium Code Reviews| Index: Source/core/dom/NodeIterator.idl |
| diff --git a/Source/core/dom/NodeIterator.idl b/Source/core/dom/NodeIterator.idl |
| index d25c3055e887ea28b47657849f856fe185327a77..3a33d79f28e8494d56ef8f3436ccae9d1be3e1bd 100644 |
| --- a/Source/core/dom/NodeIterator.idl |
| +++ b/Source/core/dom/NodeIterator.idl |
| @@ -22,7 +22,7 @@ |
| interface NodeIterator { |
| readonly attribute Node root; |
| readonly attribute unsigned long whatToShow; |
| - readonly attribute NodeFilter filter; |
| + [KeepAttributeAliveForGC] readonly attribute NodeFilter filter; |
|
abarth-chromium
2013/07/31 06:04:14
Why is this attribute needed? Storing the filter
kouhei (in TOK)
2013/07/31 06:21:34
I'm new to the bindings world so it's very likely
haraken
2013/07/31 06:46:13
I think it's a right thing to keep 'filter' alive
|
| readonly attribute boolean expandEntityReferences; |
| readonly attribute Node referenceNode; |
| readonly attribute boolean pointerBeforeReferenceNode; |