blob: b47d723a79ab6b96fe1a271f1cf9bd043947834c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- ui/gfx/linux/gbm_wrapper.cc.orig 2024-04-15 20:34:30 UTC
+++ ui/gfx/linux/gbm_wrapper.cc
@@ -313,7 +313,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;
|