Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index 207a37bdcc8ae86ead60efe3fafd2903e2ea34ea..ce403e174ec905d0f9580c0a263b48bab57efb66 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -202,8 +202,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
void StartHangMonitorTimeout(base::TimeDelta delay); |
// Stops all existing hang monitor timeouts and assumes the renderer is |
- // responsive. |
- void StopHangMonitorTimeout(); |
+ // responsive. It is virtual so RenderViewHost can make a decision whether |
+ // the timer should be stopped, to avoid stopping it during cross site |
+ // navigation. |
+ virtual void StopHangMonitorTimeout(); |
// Forwards the given message to the renderer. These are called by the view |
// when it has received a message. |