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

Issue 525583002: Fix RenderFrameHost lifetime and clean up CommitPending. (Closed)

Created:
6 years, 3 months ago by Charlie Reis
Modified:
6 years, 2 months ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix RenderFrameHost lifetime and clean up CommitPending. This updates the CommitPending logic now that swap out happens at commit time, ensuring that the old RFH is kept alive until the SwapOut ACK is received. It is now also possible to swap out without creating a proxy. BUG=407160 TEST=Cross-site iframe is visible in --site-per-process mode. Committed: https://crrev.com/69d87d46eebbdc761974b3b7e3937406816e1cdb Cr-Commit-Position: refs/heads/master@{#297902}

Patch Set 1 : Initial patch #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase past IsRenderFrameLive CL #

Patch Set 5 : More fixes and cleanup #

Patch Set 6 : Preparing to move state machine #

Patch Set 7 : Rebase to get RVH state move #

Patch Set 8 : Fixes #

Patch Set 9 : Rebase and use C++11 #

Patch Set 10 : Clean up #

Total comments: 10

Patch Set 11 : Update comments #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -198 lines) Patch
M content/browser/frame_host/frame_tree.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -22 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +22 lines, -21 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +22 lines, -10 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +119 lines, -130 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -6 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Charlie Reis
I think this is finally ready for review! I've overhauled CommitPending and SwapOutOldFrame. I would ...
6 years, 2 months ago (2014-10-01 22:43:14 UTC) #4
nasko
This looks great! I'm surprised how much cleaner it is now and it is actually ...
6 years, 2 months ago (2014-10-02 16:04:02 UTC) #5
Charlie Reis
Thanks! New patch up. At your suggestion, I'll look into creating a site_per_process_unittests.cc in a ...
6 years, 2 months ago (2014-10-02 19:41:20 UTC) #6
nasko
LGTM
6 years, 2 months ago (2014-10-02 19:48:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/525583002/280001
6 years, 2 months ago (2014-10-02 19:50:49 UTC) #9
commit-bot: I haz the power
Committed patchset #12 (id:280001) as cc4e280a4b6e3daa796f85079d2823f27b7c6ab5
6 years, 2 months ago (2014-10-02 21:11:07 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 21:11:44 UTC) #11
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/69d87d46eebbdc761974b3b7e3937406816e1cdb
Cr-Commit-Position: refs/heads/master@{#297902}

Powered by Google App Engine
This is Rietveld 408576698