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

Issue 894843003: Move the RenderProcessGone IPC from RenderViewHost to RenderFrameHost (Closed)

Created:
5 years, 10 months ago by nasko
Modified:
5 years, 10 months ago
Reviewers:
Charlie Reis
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the RenderProcessGone IPC from RenderViewHost to RenderFrameHost BUG=304341, 450799 Committed: https://crrev.com/b985af1c7d2647db123a76370ea5a09e41151e61 Cr-Commit-Position: refs/heads/master@{#314974}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Fixes based on Charlie's review. #

Total comments: 2

Patch Set 3 : Remove FrameTree::RenderProcessGone #

Patch Set 4 : Fix for swapped out RFHs. #

Total comments: 7

Patch Set 5 : Fixes. #

Patch Set 6 : D'oh #

Patch Set 7 : Rebase #

Patch Set 8 : Fix conflict with dalecurtis' CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -75 lines) Patch
M content/browser/frame_host/frame_tree.h View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 2 3 4 2 chunks +0 lines, -23 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/frame_host/frame_tree_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 3 chunks +35 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 2 chunks +5 lines, -17 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 4 5 6 7 6 chunks +12 lines, -12 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/swapped_out_messages.cc View 2 chunks +1 line, -1 line 0 comments Download
M content/common/view_messages.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
nasko
Hey Charlie, Can you review this CL for me? It moves RenderProcessGone handling from RenderViewHost ...
5 years, 10 months ago (2015-02-03 00:02:40 UTC) #2
Charlie Reis
Thanks-- a few thoughts below. https://codereview.chromium.org/894843003/diff/1/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (left): https://codereview.chromium.org/894843003/diff/1/content/browser/frame_host/frame_tree.cc#oldcode314 content/browser/frame_host/frame_tree.cc:314: render_frame_host->render_view_host()->GetSiteInstance(); Is this unrelated? ...
5 years, 10 months ago (2015-02-03 01:06:35 UTC) #3
nasko
https://codereview.chromium.org/894843003/diff/1/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (left): https://codereview.chromium.org/894843003/diff/1/content/browser/frame_host/frame_tree.cc#oldcode314 content/browser/frame_host/frame_tree.cc:314: render_frame_host->render_view_host()->GetSiteInstance(); On 2015/02/03 01:06:35, Charlie Reis wrote: > Is ...
5 years, 10 months ago (2015-02-04 16:51:31 UTC) #4
Charlie Reis
https://codereview.chromium.org/894843003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/894843003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode1013 content/browser/frame_host/render_frame_host_impl.cc:1013: frame_tree_node_->frame_tree()->RenderProcessGone(render_view_host_); Looking closer, FrameTree::RenderProcessGone walks the frame tree looking ...
5 years, 10 months ago (2015-02-05 00:53:14 UTC) #5
nasko
https://codereview.chromium.org/894843003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/894843003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode1013 content/browser/frame_host/render_frame_host_impl.cc:1013: frame_tree_node_->frame_tree()->RenderProcessGone(render_view_host_); On 2015/02/05 00:53:13, Charlie Reis wrote: > Looking ...
5 years, 10 months ago (2015-02-05 23:08:45 UTC) #9
Charlie Reis
A few bugs below? https://codereview.chromium.org/894843003/diff/100001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/894843003/diff/100001/content/browser/frame_host/frame_tree.cc#newcode293 content/browser/frame_host/frame_tree.cc:293: render_frame_host->render_view_host()->GetSiteInstance(); Looks like a failed ...
5 years, 10 months ago (2015-02-06 00:04:48 UTC) #10
nasko
https://codereview.chromium.org/894843003/diff/100001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/894843003/diff/100001/content/browser/frame_host/frame_tree.cc#newcode293 content/browser/frame_host/frame_tree.cc:293: render_frame_host->render_view_host()->GetSiteInstance(); On 2015/02/06 00:04:47, Charlie Reis wrote: > Looks ...
5 years, 10 months ago (2015-02-06 01:10:48 UTC) #11
Charlie Reis
LGTM
5 years, 10 months ago (2015-02-06 03:13:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894843003/180001
5 years, 10 months ago (2015-02-06 03:15:51 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:180001)
5 years, 10 months ago (2015-02-06 04:16:02 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 04:17:48 UTC) #16
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b985af1c7d2647db123a76370ea5a09e41151e61
Cr-Commit-Position: refs/heads/master@{#314974}

Powered by Google App Engine
This is Rietveld 408576698