| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| index c08c5dea4a5a2d7bf32a6ce1c02ed09b318931e0..5176501779b42d7f4d00a516cc0e5e6e4217f5b7 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -404,7 +404,6 @@ void LocalFrame::willDetachFrameHost()
|
| // so page() could be null.
|
| if (page() && page()->focusController().focusedFrame() == this)
|
| page()->focusController().setFocusedFrame(nullptr);
|
| - script().clearScriptObjects();
|
|
|
| if (page() && page()->scrollingCoordinator() && m_view)
|
| page()->scrollingCoordinator()->willDestroyScrollableArea(m_view.get());
|
|
|