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 27ed57ff1a32d0cfdabf81af901f6e28b2e0d496..99a6ca9d392e5b398fad66c1e2dcbf9cd0ce3c62 100644 |
--- a/content/browser/frame_host/frame_tree.cc |
+++ b/content/browser/frame_host/frame_tree.cc |
@@ -230,6 +230,10 @@ void FrameTree::RenderProcessGone(RenderViewHost* render_view_host) { |
// ForEach does not add a node's children to the queue until after visiting |
// the node itself. |
ForEach(base::Bind(&ResetNodesForNewProcess, render_view_host)); |
+ |
+ // Ensure that if the main frame is reused for a new RenderFrame, it will |
+ // set up the Mojo connection with that frame. |
+ GetMainFrame()->InvalidateMojoConnection(); |
Charlie Reis
2014/10/23 18:38:31
I don't think we want to do this on the main frame
blundell
2014/10/24 14:42:54
Done.
|
} |
RenderFrameHostImpl* FrameTree::GetMainFrame() const { |