Index: Source/core/frame/RemoteFrame.cpp |
diff --git a/Source/core/frame/RemoteFrame.cpp b/Source/core/frame/RemoteFrame.cpp |
index aa914d47d239e3d1f867894aacfd0b75a91e539a..ae7408abaf2b4476e58f467480ff6a6449d0df8c 100644 |
--- a/Source/core/frame/RemoteFrame.cpp |
+++ b/Source/core/frame/RemoteFrame.cpp |
@@ -26,6 +26,12 @@ RemoteFrame::~RemoteFrame() |
setView(nullptr); |
} |
+void RemoteFrame::detach() |
+{ |
+ detachChildren(); |
+ m_host = 0; |
+} |
+ |
void RemoteFrame::setView(PassRefPtr<RemoteFrameView> view) |
{ |
m_view = view; |