blob: 6d2a921bfe0738239e23cb87460083fa8aa3a2d0 (
plain) (
tree)
|
|
--- ui/gfx/linux/gbm_wrapper.cc.orig 2024-05-21 18:07:39 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;
|