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

Unified Diff: third_party/WebKit/Source/wtf/allocator/Partitions.cpp

Issue 2585673002: Replace ASSERT, ENABLE(ASSERT), and ASSERT_NOT_REACHED in wtf (Closed)
Patch Set: Fix an Asan issue with LinkedHashSetNodeBase::unlink Created 4 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/wtf/allocator/Partitions.h ('k') | third_party/WebKit/Source/wtf/dtoa.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/allocator/Partitions.cpp
diff --git a/third_party/WebKit/Source/wtf/allocator/Partitions.cpp b/third_party/WebKit/Source/wtf/allocator/Partitions.cpp
index 56d0a8f4af4131ddbebd2651ffac03abf4523d49..7b23382966265c537cac4ce1c0e1d886c7da5ffa 100644
--- a/third_party/WebKit/Source/wtf/allocator/Partitions.cpp
+++ b/third_party/WebKit/Source/wtf/allocator/Partitions.cpp
@@ -109,7 +109,7 @@ void Partitions::dumpMemoryStats(
base::PartitionStatsDumper* partitionStatsDumper) {
// Object model and rendering partitions are not thread safe and can be
// accessed only on the main thread.
- ASSERT(isMainThread());
+ DCHECK(isMainThread());
decommitFreeableMemory();
partitionDumpStatsGeneric(fastMallocPartition(), "fast_malloc", isLightDump,
« no previous file with comments | « third_party/WebKit/Source/wtf/allocator/Partitions.h ('k') | third_party/WebKit/Source/wtf/dtoa.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698