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

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

Issue 452673002: Don't leave a RenderFrameProxyHost for the current RenderFrameHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Original Created 6 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
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 38914e86aaad9949af682704b480d394959bfbd9..92c31fbb1212f89f1899702fd742fe1f3572eba0 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -459,6 +459,10 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver {
// schedule new navigations in its swapped out RenderFrameHosts after this.
void RendererProcessClosing(RenderProcessHost* render_process_host);
+ // Helper method to delete a RenderFrameProxyHost from the list, if one exists
+ // for the given |instance|.
+ void DeleteRenderFrameProxyHost(SiteInstance* instance);
+
// For use in creating RenderFrameHosts.
FrameTreeNode* frame_tree_node_;

Powered by Google App Engine
This is Rietveld 408576698