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

Unified Diff: Source/core/platform/Partitions.cpp

Issue 18242004: Use the partition allocator and run the test in debug too. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Run test in debug. Created 7 years, 6 months 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 | « no previous file | Source/wtf/PartitionAlloc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/Partitions.cpp
diff --git a/Source/core/platform/Partitions.cpp b/Source/core/platform/Partitions.cpp
index 609672b70424436c0ca835c78de6e96cbc45dc53..3630819918d258c4b4e029f34bf540b6c3f4d79e 100644
--- a/Source/core/platform/Partitions.cpp
+++ b/Source/core/platform/Partitions.cpp
@@ -44,7 +44,10 @@ void Partitions::init()
void Partitions::shutdown()
{
- partitionAllocShutdown(&m_objectModelRoot);
+ // We could ASSERT here for a memory leak within the partition, but it leads
+ // to very hard to diagnose ASSERTs, so it's best to leave leak checking for
+ // the valgrind and heapcheck bots, which run without partitions.
+ (void) partitionAllocShutdown(&m_objectModelRoot);
}
#endif
« no previous file with comments | « no previous file | Source/wtf/PartitionAlloc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698