Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 0acb4afff71c59b2f6f14818814d2a0f97b90a9c..ae346afac52800bcae9fca9523d73c52f253ab55 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -1495,7 +1495,7 @@ bool RenderProcessHostImpl::OnMessageReceived(const IPC::Message& msg) { |
IPC_MESSAGE_HANDLER(ChildProcessHostMsg_DumpHandlesDone, |
OnDumpHandlesDone) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SuddenTerminationChanged, |
- SuddenTerminationChanged) |
+ OnSuddenTerminationChanged) |
IPC_MESSAGE_HANDLER(ViewHostMsg_UserMetricsRecordAction, |
OnUserMetricsRecordAction) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SavedPageAsMHTML, OnSavedPageAsMHTML) |
@@ -1660,10 +1660,6 @@ void RenderProcessHostImpl::RemovePendingView() { |
pending_views_--; |
} |
-void RenderProcessHostImpl::SetSuddenTerminationAllowed(bool enabled) { |
- sudden_termination_allowed_ = enabled; |
-} |
- |
bool RenderProcessHostImpl::SuddenTerminationAllowed() const { |
return sudden_termination_allowed_; |
} |
@@ -2172,8 +2168,8 @@ void RenderProcessHostImpl::OnShutdownRequest() { |
Send(new ChildProcessMsg_Shutdown()); |
} |
-void RenderProcessHostImpl::SuddenTerminationChanged(bool enabled) { |
- SetSuddenTerminationAllowed(enabled); |
+void RenderProcessHostImpl::OnSuddenTerminationChanged(bool enabled) { |
+ sudden_termination_allowed_ = enabled; |
} |
void RenderProcessHostImpl::OnDumpHandlesDone() { |