aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-ui_gfx_linux_gbm__wrapper.cc
blob: 247b6b7579e62a917eb6839626b9ee25ea021c27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/gfx/linux/gbm_wrapper.cc.orig	2024-05-23 20:04:36 UTC
+++ ui/gfx/linux/gbm_wrapper.cc
@@ -314,7 +314,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_for_verification =
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
         gfx::Size(1, 1);
 #else
         requested_size;