diff options
author | nasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 15:58:27 +0000 |
---|---|---|
committer | nasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 15:58:27 +0000 |
commit | 3cf9dee4caf9be8e385ee4d6e97041b297e57c09 (patch) | |
tree | e206709c1e685503bb0598dc857d887047eace1f /content/browser/renderer_host/render_widget_helper.cc | |
parent | 770005b3ba678f0b4b4c4cdf3aa61df8e647b154 (diff) | |
download | chromium_src-3cf9dee4caf9be8e385ee4d6e97041b297e57c09.zip chromium_src-3cf9dee4caf9be8e385ee4d6e97041b297e57c09.tar.gz chromium_src-3cf9dee4caf9be8e385ee4d6e97041b297e57c09.tar.bz2 |
Fixing a problem, where a hung renderer process is not killed when navigating away
BUG=104346
TEST=Steps to reproduce listed in the bug.
Review URL: http://codereview.chromium.org/10065028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132407 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/render_widget_helper.cc')
-rw-r--r-- | content/browser/renderer_host/render_widget_helper.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/browser/renderer_host/render_widget_helper.cc b/content/browser/renderer_host/render_widget_helper.cc index a29babb..8639565 100644 --- a/content/browser/renderer_host/render_widget_helper.cc +++ b/content/browser/renderer_host/render_widget_helper.cc @@ -101,11 +101,11 @@ void RenderWidgetHelper::CancelResourceRequests(int render_widget_id) { render_widget_id)); } -void RenderWidgetHelper::CrossSiteSwapOutACK( +void RenderWidgetHelper::SimulateSwapOutACK( const ViewMsg_SwapOut_Params& params) { BrowserThread::PostTask( BrowserThread::IO, FROM_HERE, - base::Bind(&RenderWidgetHelper::OnCrossSiteSwapOutACK, + base::Bind(&RenderWidgetHelper::OnSimulateSwapOutACK, this, params)); } @@ -207,9 +207,9 @@ void RenderWidgetHelper::OnCancelResourceRequests( render_process_id_, render_widget_id); } -void RenderWidgetHelper::OnCrossSiteSwapOutACK( +void RenderWidgetHelper::OnSimulateSwapOutACK( const ViewMsg_SwapOut_Params& params) { - resource_dispatcher_host_->OnSwapOutACK(params); + resource_dispatcher_host_->OnSimulateSwapOutACK(params); } void RenderWidgetHelper::CreateNewWindow( |