| Index: content/browser/renderer_host/render_widget_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
| index c7d44adae24d9862337c5d78da6578b7a523cb34..8abf5cda03df426a8d82d7f74982f38d35b81302 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -915,6 +915,11 @@ void RenderWidgetHostImpl::RestartHangMonitorTimeout() {
|
| hang_monitor_timeout_->Restart(hung_renderer_delay_);
|
| }
|
|
|
| +void RenderWidgetHostImpl::DisableHangMonitorForTesting() {
|
| + StopHangMonitorTimeout();
|
| + hang_monitor_timeout_.reset();
|
| +}
|
| +
|
| void RenderWidgetHostImpl::StopHangMonitorTimeout() {
|
| if (hang_monitor_timeout_)
|
| hang_monitor_timeout_->Stop();
|
|
|