Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: Source/core/frame/Frame.cpp

Issue 1191393007: Move setOpener from FrameLoader::detach to Frame::detach (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Implement RemoteFrameClientImpl::setOpener Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/loader/FrameLoader.cpp » ('j') | Source/web/RemoteFrameClientImpl.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Frame.cpp
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp
index 127d4ac26f229b0d97a73ef2a34aa5cec3f4dc15..2216e12bb0717cc0684baa877f370969ad852ec3 100644
--- a/Source/core/frame/Frame.cpp
+++ b/Source/core/frame/Frame.cpp
@@ -83,6 +83,7 @@ DEFINE_TRACE(Frame)
void Frame::detach(FrameDetachType type)
{
ASSERT(m_client);
+ m_client->setOpener(0);
domWindow()->resetLocation();
disconnectOwnerElement();
// After this, we must no longer talk to the client since this clears
« no previous file with comments | « no previous file | Source/core/loader/FrameLoader.cpp » ('j') | Source/web/RemoteFrameClientImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698