Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index 872152c996ab612ec0381ba171301b53faeef40c..a79df2a45ac243906ff6bc133e18f5ba3fe1aeb3 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -1435,7 +1435,7 @@ void RenderViewHostImpl::OnRenderProcessGone(int status, int exit_code) { |
// TODO(creis): Once subframes can be in different processes, we'll need to |
nasko
2014/02/11 04:49:16
nit: This comment is now stale, right?
Charlie Reis
2014/02/12 00:27:57
Ah, of course. Done.
|
// clear just the FrameTreeNodes affected by the crash (and their subtrees). |
main_frame_id_ = -1; |
- delegate_->GetFrameTree()->ResetForMainFrameSwap(); |
+ delegate_->GetFrameTree()->RenderProcessGone(this); |
// Our base class RenderWidgetHost needs to reset some stuff. |
RendererExited(render_view_termination_status_, exit_code); |