Skip to content

Commit

Permalink
fix: Windows checkboxChecked edge case (#21860)
Browse files Browse the repository at this point in the history
Co-authored-by: Shelley Vohr <codebytere@github.com>
  • Loading branch information
2 people authored and zcbenz committed Jan 23, 2020
1 parent 04234f4 commit 2c29a4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shell/browser/ui/message_box_win.cc
Expand Up @@ -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) {
Expand Down

0 comments on commit 2c29a4e

Please sign in to comment.