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

Unified Diff: third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h

Issue 2509213003: DO NOT SUBMIT: enable v8bsc and instrument partitionlloc
Patch Set: misc -- most importantly, passing the actualSize to realloc Created 4 years, 1 month 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
Index: third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h
diff --git a/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h b/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h
index 2c7d799913e27ed9f960dfb7e42160c366a70176..f03d98510cce7b74dec20345abe08a283eb69e81 100644
--- a/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h
+++ b/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h
@@ -579,7 +579,8 @@ ALWAYS_INLINE void partitionCookieCheckValue(void* ptr) {
#if ENABLE(ASSERT)
unsigned char* cookiePtr = reinterpret_cast<unsigned char*>(ptr);
for (size_t i = 0; i < kCookieSize; ++i, ++cookiePtr)
- ASSERT(*cookiePtr == kCookieValue[i]);
+ DCHECK_EQ(*cookiePtr, kCookieValue[i]) << " ptr=" << ptr;
+ //ASSERT(*cookiePtr == kCookieValue[i]);
#endif
}
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/Source/wtf/allocator/Partitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698