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

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

Issue 20231002: Replace RenderArena with PartitionAlloc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 5 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 | « Source/core/platform/Partitions.h ('k') | Source/core/platform/text/BidiResolver.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 635025a85d38e02568cdb48dcde0e222e9d757b8..a5c54f4f56ed9e55e464e4360be6ec5c3fdb1ead 100644
--- a/Source/core/platform/Partitions.cpp
+++ b/Source/core/platform/Partitions.cpp
@@ -35,10 +35,12 @@
namespace WebCore {
PartitionRoot Partitions::m_objectModelRoot;
+PartitionRoot Partitions::m_renderingRoot;
void Partitions::init()
{
partitionAllocInit(&m_objectModelRoot);
+ partitionAllocInit(&m_renderingRoot);
}
void Partitions::shutdown()
@@ -47,6 +49,7 @@ void Partitions::shutdown()
// 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);
+ (void) partitionAllocShutdown(&m_renderingRoot);
}
} // namespace WebCore
« no previous file with comments | « Source/core/platform/Partitions.h ('k') | Source/core/platform/text/BidiResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698