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

Issue 881683002: Remove indirection for SiteInstance and RenderProcessHost from RenderFrameHost. (Closed)

Created:
5 years, 11 months ago by nasko
Modified:
5 years, 11 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

Remove indirection for SiteInstance and RenderProcessHost from RenderFrameHost. Currently the SiteInstance and RenderProcessHost for a RenderFrameHost are retrieved from the associated RenderViewHost. The RFH code is sufficiently along the way to keep track of these on its own. BUG=304341 Committed: https://crrev.com/9a45a9a69aac0a195da2e5c288c7b4d6f44ea032 Cr-Commit-Position: refs/heads/master@{#313383}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Passing SiteInstance to constructor. #

Patch Set 3 : Fixes based on Charlie's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -20 lines) Patch
M content/browser/frame_host/render_frame_host_factory.h View 1 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_factory.cc View 1 2 chunks +7 lines, -6 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 chunks +13 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 3 chunks +6 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/test/test_render_frame_host.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/test/test_render_frame_host.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/test/test_render_frame_host_factory.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/test/test_render_frame_host_factory.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
nasko
Hey Charlie, This is a small cleanup CL. It teaches RFH about its SiteInstance and ...
5 years, 11 months ago (2015-01-27 02:00:14 UTC) #2
Charlie Reis
Nice-- this is a good step towards eliminating RVH. https://codereview.chromium.org/881683002/diff/1/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/881683002/diff/1/content/browser/frame_host/render_frame_host_impl.cc#newcode131 content/browser/frame_host/render_frame_host_impl.cc:131: ...
5 years, 11 months ago (2015-01-27 02:09:04 UTC) #3
nasko
https://codereview.chromium.org/881683002/diff/1/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/881683002/diff/1/content/browser/frame_host/render_frame_host_impl.cc#newcode131 content/browser/frame_host/render_frame_host_impl.cc:131: static_cast<SiteInstanceImpl*>(render_view_host->GetSiteInstance())), On 2015/01/27 02:09:04, Charlie Reis (slow until 1-29) ...
5 years, 11 months ago (2015-01-27 22:30:34 UTC) #4
Charlie Reis
LGTM
5 years, 11 months ago (2015-01-27 22:35:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/881683002/40001
5 years, 11 months ago (2015-01-27 22:39:20 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-27 22:43:41 UTC) #8
commit-bot: I haz the power
5 years, 11 months ago (2015-01-27 22:44:39 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9a45a9a69aac0a195da2e5c288c7b4d6f44ea032
Cr-Commit-Position: refs/heads/master@{#313383}

Powered by Google App Engine
This is Rietveld 408576698