aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_WebKit_Source_platform_wtf_Atomics.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_WebKit_Source_platform_wtf_Atomics.h')
-rw-r--r--www/chromium/files/patch-third__party_WebKit_Source_platform_wtf_Atomics.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_WebKit_Source_platform_wtf_Atomics.h b/www/chromium/files/patch-third__party_WebKit_Source_platform_wtf_Atomics.h
new file mode 100644
index 000000000000..d7374a5b5dcf
--- /dev/null
+++ b/www/chromium/files/patch-third__party_WebKit_Source_platform_wtf_Atomics.h
@@ -0,0 +1,11 @@
+--- third_party/WebKit/Source/platform/wtf/Atomics.h.orig 2017-06-05 19:03:26 UTC
++++ third_party/WebKit/Source/platform/wtf/Atomics.h
+@@ -176,7 +176,7 @@ ALWAYS_INLINE void AtomicSetOneToZero(int volatile* pt
+ #if defined(THREAD_SANITIZER)
+ // The definitions below assume an LP64 data model. This is fine because
+ // TSan is only supported on x86_64 Linux.
+-#if CPU(64BIT) && OS(LINUX)
++#if CPU(64BIT) && (OS(LINUX) || OS(BSD))
+ ALWAYS_INLINE void ReleaseStore(volatile int* ptr, int value) {
+ __tsan_atomic32_store(ptr, value, __tsan_memory_order_release);
+ }