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

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

Issue 2236753002: OOPIF: Reinitialize a dead subframe correctly for same-site navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@crash-RenderView-pending-rfh
Patch Set: Fix Charlie's nit Created 4 years, 4 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 | content/browser/frame_host/render_frame_host_manager.cc » ('j') | 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.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index 30b96e06ff8dcb015cb69081fc67d619794db7c0..0ffaa0ab979a5b6c1503c4ac51065253192bda58 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -685,6 +685,11 @@ class CONTENT_EXPORT RenderFrameHostManager
// above.
bool InitRenderFrame(RenderFrameHostImpl* render_frame_host);
+ // Helper to reinitialize the RenderFrame, RenderView, and the opener chain
+ // for the provided |render_frame_host|. Used when the |render_frame_host|
+ // needs to be reused for a new navigation, but it is not live.
+ bool ReinitializeRenderFrame(RenderFrameHostImpl* render_frame_host);
+
// Makes the pending WebUI on the current RenderFrameHost active. Call this
// when the current RenderFrameHost commits and it has a pending WebUI.
void CommitPendingWebUI();
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698