--- ui/gtk/select_file_dialog_linux_gtk.cc.orig 2026-08-12 09:02:10 UTC +++ ui/gtk/select_file_dialog_linux_gtk.cc @@ -57,7 +57,8 @@ namespace { // GTK_RESPONSE_ACCEPT as the default button, which should be avoided to prevent // an exploit where the user is instructed to hold Enter before the dialog // appears. -constexpr GtkResponseType kResponseTypeAccept = static_cast(0); +// My god ^^^^^ WTF +constexpr GtkResponseType kResponseTypeAccept = static_cast(GTK_RESPONSE_ACCEPT); // TODO(crbug.com/41469294): These getters will be unnecessary after // migrating to GtkFileChooserNative.