aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_synchronization_lock__impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_synchronization_lock__impl.h')
-rw-r--r--www/chromium/files/patch-base_synchronization_lock__impl.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/chromium/files/patch-base_synchronization_lock__impl.h b/www/chromium/files/patch-base_synchronization_lock__impl.h
index b64073a52629..5e7c175fb687 100644
--- a/www/chromium/files/patch-base_synchronization_lock__impl.h
+++ b/www/chromium/files/patch-base_synchronization_lock__impl.h
@@ -1,19 +1,23 @@
---- base/synchronization/lock_impl.h.orig 2021-12-14 11:44:55 UTC
+--- base/synchronization/lock_impl.h.orig 2022-02-07 13:39:41 UTC
+++ base/synchronization/lock_impl.h
-@@ -107,6 +107,8 @@ void LockImpl::Unlock() {
+@@ -107,6 +107,10 @@ void LockImpl::Unlock() {
}
#elif defined(OS_POSIX) || defined(OS_FUCHSIA)
++#if defined(OS_FREEBSD)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wthread-safety-analysis"
++#endif
BASE_EXPORT std::string SystemErrorCodeToString(int error_code);
-@@ -121,6 +123,7 @@ void LockImpl::Unlock() {
+@@ -121,6 +125,9 @@ void LockImpl::Unlock() {
int rv = pthread_mutex_unlock(&native_handle_);
DCHECK_EQ(rv, 0) << ". " << strerror(rv);
}
++#if defined(OS_FREEBSD)
+#pragma GCC diagnostic pop
++#endif
#endif
// This is an implementation used for AutoLock templated on the lock type.