Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1135)

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 938123003: Prevent hang monitor restarts when hidden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 99607fcac6a52f03685391d2fb9f28c57d8f6e00..5e3ee8fd5532a86b42fc824ecbd233c7677c247d 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -124,8 +124,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl
// uses RenderWidgetHost::AsRenderWidgetHostImpl().
static RenderWidgetHostImpl* From(RenderWidgetHost* rwh);
- void set_hung_renderer_delay_ms(const base::TimeDelta& timeout) {
- hung_renderer_delay_ms_ = timeout.InMilliseconds();
+ void set_hung_renderer_delay(const base::TimeDelta& delay) {
+ hung_renderer_delay_ = delay;
}
// RenderWidgetHost implementation.
@@ -592,7 +592,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl
bool renderer_initialized_;
// This value indicates how long to wait before we consider a renderer hung.
- int64 hung_renderer_delay_ms_;
+ base::TimeDelta hung_renderer_delay_;
private:
friend class MockRenderWidgetHost;
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698