Refactor RWH::RestartHang...Timeout... into a generic base::Closure

https://chromium-review.googlesource.com/c/chromium/src/+/1096362
This commit is contained in:
Jeremy Apthorp 2018-10-02 14:57:14 -07:00
parent 4570330c7b
commit e3fef30789
2 changed files with 4 additions and 2 deletions

View file

@ -667,7 +667,8 @@ void WebContents::ExitFullscreenModeForTab(content::WebContents* source) {
void WebContents::RendererUnresponsive(
content::WebContents* source,
content::RenderWidgetHost* render_widget_host) {
content::RenderWidgetHost* render_widget_host,
base::RepeatingClosure hang_monitor_restarter) {
Emit("unresponsive");
}

View file

@ -332,7 +332,8 @@ class WebContents : public mate::TrackableObject<WebContents>,
void ExitFullscreenModeForTab(content::WebContents* source) override;
void RendererUnresponsive(
content::WebContents* source,
content::RenderWidgetHost* render_widget_host) override;
content::RenderWidgetHost* render_widget_host,
base::RepeatingClosure hang_monitor_restarter) override;
void RendererResponsive(
content::WebContents* source,
content::RenderWidgetHost* render_widget_host) override;