summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-ui_gfx_linux_gbm__wrapper.cc
blob: 174a9c5c6b19ab472d9b4c7a12481a47690e4e19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/gfx/linux/gbm_wrapper.cc.orig	2023-12-23 12:33:28 UTC
+++ ui/gfx/linux/gbm_wrapper.cc
@@ -316,7 +316,7 @@ class Device final : public ui::GbmDevice {
     // of 1x1 BOs which are destroyed before creating the final BO creation used
     // to instantiate the returned GbmBuffer.
     gfx::Size size =
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
         gfx::Size(1, 1);
 #else
         requested_size;