Index: base/debug/leak_annotations.h |
diff --git a/base/debug/leak_annotations.h b/base/debug/leak_annotations.h |
index 887b51d682519415fa7aca4a6ece1f61d6883b56..42314c1f0e91df8b630e80497f82098b94f721f3 100644 |
--- a/base/debug/leak_annotations.h |
+++ b/base/debug/leak_annotations.h |
@@ -33,7 +33,7 @@ |
#define ANNOTATE_LEAKING_OBJECT_PTR(X) \ |
HeapLeakChecker::IgnoreObject(X) |
-#elif defined(LEAK_SANITIZER) |
+#elif defined(LEAK_SANITIZER) && !defined(OS_NACL) |
extern "C" { |
void __lsan_disable(); |