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

Unified Diff: content/browser/web_contents/render_view_host_manager.cc

Issue 10381073: Revert 132407 - Fixing a problem, where a hung renderer process is not killed when navigating away (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1130/src/
Patch Set: Created 8 years, 7 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/web_contents/render_view_host_manager.cc
===================================================================
--- content/browser/web_contents/render_view_host_manager.cc (revision 136082)
+++ content/browser/web_contents/render_view_host_manager.cc (working copy)
@@ -188,12 +188,10 @@
// handler later finishes, this call will be ignored because the state in
// CrossSiteResourceHandler will already be cleaned up.)
ViewMsg_SwapOut_Params params;
- params.closing_process_id = render_view_host_->GetProcess()->GetID();
- params.closing_route_id = render_view_host_->GetRoutingID();
params.new_render_process_host_id =
pending_render_view_host_->GetProcess()->GetID();
params.new_request_id = pending_request_id;
- current_host()->GetProcess()->SimulateSwapOutACK(params);
+ current_host()->GetProcess()->CrossSiteSwapOutACK(params);
}
return false;
}

Powered by Google App Engine
This is Rietveld 408576698