Reviewed by Maciej.
[WebKit-https.git] / WebCore / dom / NodeList.h
index 988aa772df5b66f2eec18726fe8310b9345fd65e..cf531c215d9a7c84d6fc784e9abc49252d91129c 100644 (file)
@@ -53,6 +53,8 @@ public:
     NodeList(PassRefPtr<Node> rootNode, Caches*);
     virtual ~NodeList();
 
+    bool needsNotifications() const { return m_ownsCaches; }
+
     // DOM methods & attributes for NodeList
     virtual unsigned length() const = 0;
     virtual Node* item(unsigned index) const = 0;