aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_WebKit_Source_wtf_ContainerAnnotations.h
blob: 63eecc98cde742ffd01ef4cf1b4918e2b5c0ed1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/WebKit/Source/wtf/ContainerAnnotations.h.orig	2017-04-19 19:06:50 UTC
+++ third_party/WebKit/Source/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) {                                                              \