| 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 323d50475cdcb4b872ed4d2ae4631dc1af0587da..321469fff80ad5fe97e4690adf550c57d53959ca 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -304,7 +304,7 @@ void LocalFrame::detach(FrameDetachType type)
|
| client()->willBeDetached();
|
| // Notify ScriptController that the frame is closing, since its cleanup ends up calling
|
| // back to FrameLoaderClient via WindowProxy.
|
| - script().clearForClose();
|
| + script().clearWindowProxy();
|
| ScriptForbiddenScope forbidScript;
|
| setView(nullptr);
|
| willDetachFrameHost();
|
|
|