diff options
author | Feng Qian <fqian@google.com> | 2009-04-24 16:01:03 -0700 |
---|---|---|
committer | Feng Qian <fqian@google.com> | 2009-04-24 16:01:03 -0700 |
commit | 109a58c31072b14f5b2c0493ed6c5a1855f82fd7 (patch) | |
tree | 134f7efdba4ea4d9b6dfb660bbcb47b4d54f9ad7 /WebCore/dom/Document.cpp | |
parent | ac888b0a574d343996d06d2b084eaebab7846d81 (diff) | |
download | external_webkit-109a58c31072b14f5b2c0493ed6c5a1855f82fd7.zip external_webkit-109a58c31072b14f5b2c0493ed6c5a1855f82fd7.tar.gz external_webkit-109a58c31072b14f5b2c0493ed6c5a1855f82fd7.tar.bz2 |
Make WebCore built with V8.
Picked up several new files from Chrome port.
Diffstat (limited to 'WebCore/dom/Document.cpp')
-rw-r--r-- | WebCore/dom/Document.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 <wtf/CurrentTime.h> #include <wtf/HashFunctions.h> @@ -455,7 +457,10 @@ Document::~Document() removeAllEventListeners(); + +#if USE(JSC) forgetAllDOMNodesForDocument(this); +#endif if (m_docChanged && changedDocuments) changedDocuments->remove(this); |