Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: third_party/WebKit/Source/wtf/BitVector.cpp

Issue 1491253004: Release Oilpan heap singletons prior to LSan leak detection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address non-LSan Oilpan compilation failure Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | third_party/WebKit/Source/wtf/LeakAnnotations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/BitVector.cpp
diff --git a/third_party/WebKit/Source/wtf/BitVector.cpp b/third_party/WebKit/Source/wtf/BitVector.cpp
index 0aaf1d414e962a953cc7531122e37a1b5b565017..939875edd9ab28243cfc9f90bd9bca04770bd8c4 100644
--- a/third_party/WebKit/Source/wtf/BitVector.cpp
+++ b/third_party/WebKit/Source/wtf/BitVector.cpp
@@ -77,7 +77,7 @@ BitVector::OutOfLineBits* BitVector::OutOfLineBits::create(size_t numBits)
{
// Because of the way BitVector stores the pointer, memory tools
// will erroneously report a leak here.
- WTF_ANNOTATE_SCOPED_MEMORY_LEAK;
+ WTF_INTERNAL_LEAK_SANITIZER_DISABLED_SCOPE;
numBits = (numBits + bitsInPointer() - 1) & ~(bitsInPointer() - 1);
size_t size = sizeof(OutOfLineBits) + sizeof(uintptr_t) * (numBits / bitsInPointer());
void* allocation = Partitions::bufferMalloc(size, WTF_HEAP_PROFILER_TYPE_NAME(OutOfLineBits));
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | third_party/WebKit/Source/wtf/LeakAnnotations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698