| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index b69cf2e04871d5bcbfef8fe95af8bd0c5ba78658..73ce4ba082a9af9f1a61c23cfe39314a75bc3534 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -536,7 +536,6 @@ Document::~Document()
|
|
|
| if (m_templateDocument)
|
| m_templateDocument->m_templateDocumentHost = nullptr; // balanced in ensureTemplateDocument().
|
| -#endif
|
|
|
| m_scriptRunner.clear();
|
|
|
| @@ -544,7 +543,6 @@ Document::~Document()
|
| // not notify the inspector instrumentation that the event listeners are
|
| // gone. The Document and all the nodes in the document are gone, so maybe
|
| // that is OK?
|
| -#if !ENABLE(OILPAN)
|
| removeAllEventListenersRecursively();
|
|
|
| // Currently we believe that Document can never outlive the parser.
|
| @@ -5769,6 +5767,7 @@ void Document::trace(Visitor* visitor)
|
| visitor->trace(m_titleElement);
|
| visitor->trace(m_markers);
|
| visitor->trace(m_currentScriptStack);
|
| + visitor->trace(m_scriptRunner);
|
| visitor->trace(m_transformSourceDocument);
|
| visitor->trace(m_listsInvalidatedAtDocument);
|
| #if ENABLE(OILPAN)
|
|
|