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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 2136173003: Add an histogram to differentiate between hang types of the renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed asan issue Created 4 years, 5 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_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 023cb5fafb7acd3f6a4bd7c3a4f25c2ed329eab0..6b4d5d530c3f912886cd0ee5214a00ebf2e253e1 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -575,7 +575,8 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
void RenderViewHostImpl::ClosePage() {
is_waiting_for_close_ack_ = true;
GetWidget()->StartHangMonitorTimeout(
- TimeDelta::FromMilliseconds(kUnloadTimeoutMS));
+ TimeDelta::FromMilliseconds(kUnloadTimeoutMS),
+ RenderWidgetHostDelegate::RENDERER_UNRESPONSIVE_CLOSE_PAGE);
if (IsRenderViewLive()) {
// Since we are sending an IPC message to the renderer, increase the event

Powered by Google App Engine
This is Rietveld 408576698