Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index fd0f51ca7d38f92ec8bf9f4d8e17b4cd052e75c0..780fc4aae6c94f9374b716e89efab27ad9eda984 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -2636,6 +2636,7 @@ void Document::Shutdown() { |
GetPage()->GetEventHandlerRegistry().DocumentDetached(*this); |
// Signal destruction to mutation observers. |
+ DocumentShutdownNotifier::NotifyContextDestroyed(); |
SynchronousMutationNotifier::NotifyContextDestroyed(); |
// If this Document is associated with a live DocumentLoader, the |
@@ -6855,6 +6856,7 @@ DEFINE_TRACE(Document) { |
ContainerNode::Trace(visitor); |
ExecutionContext::Trace(visitor); |
SecurityContext::Trace(visitor); |
+ DocumentShutdownNotifier::Trace(visitor); |
SynchronousMutationNotifier::Trace(visitor); |
} |