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

Unified Diff: content/browser/frame_host/frame_tree.cc

Issue 894843003: Move the RenderProcessGone IPC from RenderViewHost to RenderFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: content/browser/frame_host/frame_tree.cc
diff --git a/content/browser/frame_host/frame_tree.cc b/content/browser/frame_host/frame_tree.cc
index 96890f09075d9e438e750271b3405f8ae3b2d80f..2544ce6306d105a7f72fb0efd9cd6b8db2d28324 100644
--- a/content/browser/frame_host/frame_tree.cc
+++ b/content/browser/frame_host/frame_tree.cc
@@ -310,8 +310,7 @@ void FrameTree::RegisterRenderFrameHost(
void FrameTree::UnregisterRenderFrameHost(
RenderFrameHostImpl* render_frame_host) {
- SiteInstance* site_instance =
- render_frame_host->render_view_host()->GetSiteInstance();
Charlie Reis 2015/02/03 01:06:35 Is this unrelated? We should probably do GetSiteI
nasko 2015/02/04 16:51:31 Done.
+ SiteInstance* site_instance = render_frame_host->GetSiteInstance();
int32 site_instance_id = site_instance->GetId();
RenderViewHostMap::iterator iter =
render_view_host_map_.find(site_instance_id);

Powered by Google App Engine
This is Rietveld 408576698