1 --- src/3rdparty/chromium/base/synchronization/lock_impl.h.orig	2025-08-15 18:30:00 UTC
2 +++ src/3rdparty/chromium/base/synchronization/lock_impl.h
3 @@ -109,6 +109,10 @@ void LockImpl::Unlock() {
4  }
5 
6  #elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
7 +#if BUILDFLAG(IS_FREEBSD)
8 +#pragma GCC diagnostic push
9 +#pragma GCC diagnostic ignored "-Wthread-safety-analysis"
10 +#endif
11 
12  #if DCHECK_IS_ON()
13  BASE_EXPORT void dcheck_trylock_result(int rv);
14 @@ -129,6 +133,9 @@ void LockImpl::Unlock() {
15    dcheck_unlock_result(rv);
16  #endif
17  }
18 +#if BUILDFLAG(IS_FREEBSD)
19 +#pragma GCC diagnostic pop
20 +#endif
21  #endif
22 
23  // This is an implementation used for AutoLock templated on the lock type.
24