Chromium Code Reviews| Index: Source/WebCore/dom/NodeList.h |
| diff --git a/Source/WebCore/dom/NodeList.h b/Source/WebCore/dom/NodeList.h |
| index a768e6262d3ed91e32f411a07d8b3df9ccd6799f..cd3c3eaeddf0fab04fce1f09885d2496962cd16e 100644 |
| --- a/Source/WebCore/dom/NodeList.h |
| +++ b/Source/WebCore/dom/NodeList.h |
| @@ -43,6 +43,12 @@ namespace WebCore { |
| // Other methods (not part of DOM) |
| virtual bool isLiveNodeList() const { return false; } |
| + |
| + protected: |
| + NodeList() |
| + { |
| + ScriptWrappable::init(this); |
| + } |
| }; |
| } // namespace WebCore |