| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 170bd8ed07e092c6d043f440aad3382d4289cce8..bf58a4aa0f8bbfab29ad6ffbe7fb7ced52f3f816 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -2215,6 +2215,9 @@ void Document::detach(const AttachContext& context)
|
| // destruction.
|
| clearDOMWindow();
|
| #endif
|
| +
|
| + LifecycleContext<Document>::contextDestroyed();
|
| + ExecutionContext::contextDestroyed();
|
| }
|
|
|
| void Document::prepareForDestruction()
|
|
|