diff --git a/atom/browser/atom_javascript_dialog_manager.cc b/atom/browser/atom_javascript_dialog_manager.cc index 219b297314..5c95b02288 100644 --- a/atom/browser/atom_javascript_dialog_manager.cc +++ b/atom/browser/atom_javascript_dialog_manager.cc @@ -59,7 +59,8 @@ void AtomJavaScriptDialogManager::RunJavaScriptDialog( std::string checkbox_string; if (origin_counts_[origin] > 1 && - WebContentsPreferences::IsPreferenceEnabled("safeDialogs", web_contents)) { + WebContentsPreferences::IsPreferenceEnabled("safeDialogs", + web_contents)) { if (!WebContentsPreferences::GetString("safeDialogsMessage", &checkbox_string, web_contents)) { checkbox_string = "Prevent this app from creating additional dialogs";