| 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 acdaa779949c00bbfe2008b5b3b7d55ca05575be..506c5fc834a1dfdbd50a6cf2a67acada5ff0d9df 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_;
|
| }
|
| @@ -2170,8 +2166,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() {
|
|
|