aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_WebKit_Source_platform_wtf_ContainerAnnotations.h
blob: 6a2fe0ef28889118717fc385438edb1f4cdf8846 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/WebKit/Source/platform/wtf/ContainerAnnotations.h.orig	2017-06-05 19:03:26 UTC
+++ third_party/WebKit/Source/platform/wtf/ContainerAnnotations.h
@@ -10,7 +10,7 @@
 
 // TODO(ochang): Remove the CPU(X86_64) condition to enable this for X86 once
 // the crashes there have been fixed: http://crbug.com/461406
-#if defined(ADDRESS_SANITIZER) && OS(LINUX) && CPU(X86_64)
+#if defined(ADDRESS_SANITIZER) && (OS(LINUX) || OS(BSD)) && CPU(X86_64)
 #define ANNOTATE_CONTIGUOUS_CONTAINER
 #define ANNOTATE_NEW_BUFFER(buffer, capacity, newSize)                       \
   if (buffer) {                                                              \