| Index: Source/core/frame/RemoteFrame.cpp
|
| diff --git a/Source/core/frame/RemoteFrame.cpp b/Source/core/frame/RemoteFrame.cpp
|
| index c174cc73f17773feb8ed9e8c6fd2ba796f9e1840..12f842cc01ce4176c34c05400045f80e6f548e78 100644
|
| --- a/Source/core/frame/RemoteFrame.cpp
|
| +++ b/Source/core/frame/RemoteFrame.cpp
|
| @@ -83,7 +83,7 @@
|
| remoteFrameClient()->reload(frameLoadType, clientRedirectPolicy);
|
| }
|
|
|
| -void RemoteFrame::detach(FrameDetachType type)
|
| +void RemoteFrame::detach()
|
| {
|
| PluginScriptForbiddenScope forbidPluginDestructorScripting;
|
| // Frame::detach() requires the caller to keep a reference to this, since
|
| @@ -96,13 +96,7 @@
|
| client()->willBeDetached();
|
| m_windowProxyManager->clearForClose();
|
| setView(nullptr);
|
| - Frame::detach(type);
|
| -}
|
| -
|
| -bool RemoteFrame::prepareForCommit()
|
| -{
|
| - detachChildren();
|
| - return !!host();
|
| + Frame::detach();
|
| }
|
|
|
| RemoteSecurityContext* RemoteFrame::securityContext() const
|
|
|