diff --git a/shell/browser/ui/message_box_win.cc b/shell/browser/ui/message_box_win.cc index 59c954230c1..1e4dcd76536 100644 --- a/shell/browser/ui/message_box_win.cc +++ b/shell/browser/ui/message_box_win.cc @@ -183,8 +183,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) {