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

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

Issue 2346673002: Fix for non-live RenderFramehosts incorrectly marked as live. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_manager.cc
diff --git a/content/browser/frame_host/render_frame_host_manager.cc b/content/browser/frame_host/render_frame_host_manager.cc
index b636ed7eeac27488e1d5e80f2e24b0a33c7cc7d3..3a1921bb1f4fd708ba265327e41fa1212fc2be64 100644
--- a/content/browser/frame_host/render_frame_host_manager.cc
+++ b/content/browser/frame_host/render_frame_host_manager.cc
@@ -1842,6 +1842,9 @@ void RenderFrameHostManager::CreateOuterDelegateProxy(
false /* is_loading */,
render_frame_host->frame_tree_node()->current_replication_state()));
proxy->set_render_frame_proxy_created(true);
+
+ // There is no longer a RenderFrame associated with this RenderFrameHost.
+ render_frame_host->SetRenderFrameCreated(false);
}
void RenderFrameHostManager::SetRWHViewForInnerContents(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698