--- gpu/command_buffer/service/shared_image/ozone_image_backing.cc.orig 2026-08-31 10:59:09 UTC +++ gpu/command_buffer/service/shared_image/ozone_image_backing.cc @@ -500,7 +500,7 @@ std::unique_ptr OzoneImageB native_pixmap_handle.planes[1].offset = image_size.GetArea(); native_pixmap_handle.planes[1].size = image_size.GetArea() / 2; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::CheckedNumeric checked_required = native_pixmap_handle.planes[1].offset; checked_required += native_pixmap_handle.planes[1].size;