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

Unified Diff: components/app_modal/javascript_app_modal_dialog.cc

Issue 1688183002: Include suppressed dialogs in the FineTiming histogram (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: components/app_modal/javascript_app_modal_dialog.cc
diff --git a/components/app_modal/javascript_app_modal_dialog.cc b/components/app_modal/javascript_app_modal_dialog.cc
index efce144ea263f748efb16af820e49326c80e5979..26d1b03801def4b44ff6571fb709dd4257607749 100644
--- a/components/app_modal/javascript_app_modal_dialog.cc
+++ b/components/app_modal/javascript_app_modal_dialog.cc
@@ -54,7 +54,8 @@ void EnforceMaxPromptSize(const base::string16& in_string,
ChromeJavaScriptDialogExtraData::ChromeJavaScriptDialogExtraData()
: has_already_shown_a_dialog_(false),
- suppress_javascript_messages_(false) {}
+ suppress_javascript_messages_(false),
+ suppressed_dialog_count_(0) {}
JavaScriptAppModalDialog::JavaScriptAppModalDialog(
content::WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698