Browse Source

fix: pass safeDialogs preference properly (#22353)

Shelley Vohr 5 years ago
parent
commit
c4f272e28f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      shell/browser/electron_javascript_dialog_manager.cc

+ 1 - 0
shell/browser/electron_javascript_dialog_manager.cc

@@ -93,6 +93,7 @@ void ElectronJavaScriptDialogManager::RunJavaScriptDialog(
 
   electron::MessageBoxSettings settings;
   settings.parent_window = window;
+  settings.checkbox_label = checkbox;
   settings.buttons = buttons;
   settings.default_id = default_id;
   settings.cancel_id = cancel_id;