From 109a58c31072b14f5b2c0493ed6c5a1855f82fd7 Mon Sep 17 00:00:00 2001 From: Feng Qian Date: Fri, 24 Apr 2009 16:01:03 -0700 Subject: Make WebCore built with V8. Picked up several new files from Chrome port. --- WebCore/dom/Document.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'WebCore/dom/Document.cpp') diff --git a/WebCore/dom/Document.cpp b/WebCore/dom/Document.cpp index 2e2dd9a..e280c81 100644 --- a/WebCore/dom/Document.cpp +++ b/WebCore/dom/Document.cpp @@ -114,7 +114,9 @@ #include "XMLHttpRequest.h" #include "XMLNames.h" #include "XMLTokenizer.h" +#if USE(JSC) #include "JSDOMBinding.h" +#endif #include "ScriptController.h" #include #include @@ -455,7 +457,10 @@ Document::~Document() removeAllEventListeners(); + +#if USE(JSC) forgetAllDOMNodesForDocument(this); +#endif if (m_docChanged && changedDocuments) changedDocuments->remove(this); -- cgit v1.1