Browse Source

fix: Windows checkboxChecked edge case (#21860)

Co-authored-by: Shelley Vohr <[email protected]>
trop[bot] 5 years ago
parent
commit
2c29a4e93d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      shell/browser/ui/message_box_win.cc

+ 1 - 2
shell/browser/ui/message_box_win.cc

@@ -184,8 +184,7 @@ DialogResult ShowTaskDialogUTF16(NativeWindow* parent,
   else
     button_id = cancel_id;
 
-  return std::make_pair(button_id,
-                        checkbox_checked ? verificationFlagChecked : false);
+  return std::make_pair(button_id, verificationFlagChecked);
 }
 
 DialogResult ShowTaskDialogUTF8(const MessageBoxSettings& settings) {