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

Unified Diff: Source/web/RemoteFrameClientImpl.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 | « Source/core/loader/FrameLoader.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/RemoteFrameClientImpl.cpp
diff --git a/Source/web/RemoteFrameClientImpl.cpp b/Source/web/RemoteFrameClientImpl.cpp
index a5fb499fd462879bc703ca48544bdd00b97788d0..811c155098567176a1b5f2a0c0774ffa76e4d0b0 100644
--- a/Source/web/RemoteFrameClientImpl.cpp
+++ b/Source/web/RemoteFrameClientImpl.cpp
@@ -55,9 +55,9 @@ Frame* RemoteFrameClientImpl::opener() const
return toCoreFrame(m_webFrame->opener());
}
-void RemoteFrameClientImpl::setOpener(Frame*)
+void RemoteFrameClientImpl::setOpener(Frame* opener)
{
- // FIXME: Implement.
+ m_webFrame->setOpener(WebFrame::fromFrame(opener));
nasko 2015/06/23 14:18:51 Is there a way to avoid duplicating this from Fram
dcheng 2015/06/23 18:20:43 It'd be tricky, since you'd have a diamond inherit
}
Frame* RemoteFrameClientImpl::parent() const
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698