Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(55)

Issue 1191393007: Move setOpener from FrameLoader::detach to Frame::detach (Closed)

Created:
4 years, 10 months ago by nasko
Modified:
4 years, 10 months ago
Reviewers:
dcheng
CC:
blink-reviews, gavinp+loader_chromium.org, Nate Chapin, site-isolation-reviews_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Move setOpener from FrameLoader::detach to Frame::detach Clearing the opener should happen for all frame detaching, regardless whether it is a local or remote frame. This CL moves the LocalFrame specific code (FrameLoader) to the generic one (Frame). BUG=496923 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197670

Patch Set 1 #

Patch Set 2 : Implement RemoteFrameClientImpl::setOpener #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M Source/core/frame/Frame.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/web/RemoteFrameClientImpl.cpp View 1 1 chunk +2 lines, -2 lines 2 comments Download

Messages

Total messages: 7 (2 generated)
nasko
Hey Daniel, As we discussed, this CL moves setOpener to Frame::detach. The trybots seem happy. ...
4 years, 10 months ago (2015-06-23 10:46:22 UTC) #2
nasko
https://codereview.chromium.org/1191393007/diff/20001/Source/web/RemoteFrameClientImpl.cpp File Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1191393007/diff/20001/Source/web/RemoteFrameClientImpl.cpp#newcode60 Source/web/RemoteFrameClientImpl.cpp:60: m_webFrame->setOpener(WebFrame::fromFrame(opener)); Is there a way to avoid duplicating this ...
4 years, 10 months ago (2015-06-23 14:18:52 UTC) #3
dcheng
lgtm https://codereview.chromium.org/1191393007/diff/20001/Source/web/RemoteFrameClientImpl.cpp File Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1191393007/diff/20001/Source/web/RemoteFrameClientImpl.cpp#newcode60 Source/web/RemoteFrameClientImpl.cpp:60: m_webFrame->setOpener(WebFrame::fromFrame(opener)); On 2015/06/23 at 14:18:51, nasko (paris) wrote: ...
4 years, 10 months ago (2015-06-23 18:20:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191393007/20001
4 years, 10 months ago (2015-06-23 18:21:35 UTC) #6
commit-bot: I haz the power
4 years, 10 months ago (2015-06-23 19:35:59 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197670

Powered by Google App Engine
This is Rietveld 408576698