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

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

Issue 2753093002: Ensure that with PlzNavigate, reloads after process crash display the RenderView. (Closed)
Patch Set: nit Created 3 years, 9 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/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 93a90b8428e7dae3d17697a6ba6cf4a64a65e59a..056ee64a45e095c728b8694a2a5bb18c6dfe7470 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -750,6 +750,11 @@ class CONTENT_EXPORT RenderFrameHostManager
SiteInstance* dest_instance,
bool was_server_redirect);
+ // After a renderer process crash we'd have marked the host as invisible, so
+ // we need to set the visibility of the new View to the correct value here
+ // after reload.
+ void EnsureRenderFrameHostVisibilityConsistent();
+
// For use in creating RenderFrameHosts.
FrameTreeNode* frame_tree_node_;
« no previous file with comments | « chrome/browser/crash_recovery_browsertest.cc ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698