| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index 1c0086f6c98e1f5acd93f0e1b2a1435e5c65e526..0ac1320f3da70bcc6da96145a361d8c5d3250881 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -122,6 +122,12 @@ LocalFrame::~LocalFrame()
|
| setDOMWindow(nullptr);
|
| }
|
|
|
| +void LocalFrame::willBeDestroyed()
|
| +{
|
| + loader().frameDetached();
|
| + WillBePersistentHeapSupplementable<LocalFrame>::willBeDestroyed();
|
| +}
|
| +
|
| bool LocalFrame::inScope(TreeScope* scope) const
|
| {
|
| ASSERT(scope);
|
|
|