| 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 68ff6e0e920b56189424e7e442f1b099973e9f43..7d4a544bd34fe7dcf3a8cf3d94ea33c2d62e9f0d 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -335,6 +335,8 @@ void LocalFrame::detach(FrameDetachType type)
|
| // - Document::detach()'s deferred widget updates can run script.
|
| ScriptForbiddenScope forbidScript;
|
| m_loader.clear();
|
| + // Clear FrameScheduler again in case it is recreated in scripting.
|
| + m_frameScheduler.reset();
|
| if (!client())
|
| return;
|
|
|
|
|