$NetBSD: patch-gpu_command__buffer_client_fake__gpu__memory__buffer.h,v 1.2 2025/07/25 16:17:17 kikadf Exp $

* Part of patchset to build chromium on NetBSD
* Based on OpenBSD's chromium patches, and
  pkgsrc's qt5-qtwebengine patches

--- gpu/command_buffer/client/fake_gpu_memory_buffer.h.orig	2025-07-21 19:32:31.000000000 +0000
+++ gpu/command_buffer/client/fake_gpu_memory_buffer.h
@@ -12,7 +12,7 @@
 
 namespace gpu {
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
 // This method is used by tests to create a fake pixmap handle instead of
 // creating a FakeGpuMemoryBuffer. Once all tests are converted to use it,
 // FakeGpuMemoryBuffer will be removed and this file will be renamed
