a04e75e95a
Submitted by: Matthias Wolf (via github) MFH: 2021Q1 Security: https://www.vuxml.org/freebsd/4ed0e43c-5cef-11eb-bafd-3065ec8fd3ec.html
12 lines
643 B
C++
12 lines
643 B
C++
--- ui/views/examples/widget_example.cc.orig 2021-01-18 21:29:49 UTC
|
|
+++ ui/views/examples/widget_example.cc
|
|
@@ -50,7 +50,7 @@ void WidgetExample::CreateExampleView(View* container)
|
|
modal_button->SetCallback(
|
|
base::BindRepeating(&WidgetExample::CreateDialogWidget,
|
|
base::Unretained(this), modal_button, true));
|
|
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
|
|
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
|
|
// Windows does not support TYPE_CONTROL top-level widgets.
|
|
LabelButton* control_button = BuildButton(
|
|
container, GetStringUTF16(IDS_WIDGET_CHILD_WIDGET_BUTTON_LABEL));
|