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

Unified Diff: Source/wtf/Partitions.cpp

Issue 1189593003: Rename Partitions::getRenderingPartition() -> getLayoutPartition() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« Source/wtf/Partitions.h ('K') | « Source/wtf/Partitions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Partitions.cpp
diff --git a/Source/wtf/Partitions.cpp b/Source/wtf/Partitions.cpp
index a9b828dd22f3f91808fe1403b41c2a9a3c398f19..5c9a66121359bced8f869f532f92c5d033a56fbf 100644
--- a/Source/wtf/Partitions.cpp
+++ b/Source/wtf/Partitions.cpp
@@ -42,7 +42,7 @@ bool Partitions::s_initialized;
PartitionAllocatorGeneric Partitions::m_fastMallocAllocator;
PartitionAllocatorGeneric Partitions::m_bufferAllocator;
SizeSpecificPartitionAllocator<3328> Partitions::m_objectModelAllocator;
-SizeSpecificPartitionAllocator<1024> Partitions::m_renderingAllocator;
+SizeSpecificPartitionAllocator<1024> Partitions::m_layoutAllocator;
HistogramEnumerationFunction Partitions::m_histogramEnumeration = nullptr;
void Partitions::initialize(HistogramEnumerationFunction histogramEnumeration)
@@ -54,7 +54,7 @@ void Partitions::initialize(HistogramEnumerationFunction histogramEnumeration)
m_fastMallocAllocator.init();
m_bufferAllocator.init();
m_objectModelAllocator.init();
- m_renderingAllocator.init();
+ m_layoutAllocator.init();
m_histogramEnumeration = histogramEnumeration;
s_initialized = true;
}
@@ -66,7 +66,7 @@ void Partitions::shutdown()
// 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) m_renderingAllocator.shutdown();
+ (void) m_layoutAllocator.shutdown();
(void) m_objectModelAllocator.shutdown();
(void) m_bufferAllocator.shutdown();
(void) m_fastMallocAllocator.shutdown();
@@ -79,7 +79,7 @@ void Partitions::decommitFreeableMemory()
partitionPurgeMemoryGeneric(getBufferPartition());
partitionPurgeMemoryGeneric(getFastMallocPartition());
partitionPurgeMemory(getObjectModelPartition());
- partitionPurgeMemory(getRenderingPartition());
+ partitionPurgeMemory(getLayoutPartition());
}
void Partitions::reportMemoryUsageHistogram()
@@ -113,7 +113,7 @@ void Partitions::dumpMemoryStats(PartitionStatsDumper* partitionStatsDumper)
partitionDumpStatsGeneric(getFastMallocPartition(), "fast_malloc_partition", partitionStatsDumper);
partitionDumpStatsGeneric(getBufferPartition(), "buffer_partition", partitionStatsDumper);
partitionDumpStats(getObjectModelPartition(), "object_model_partition", partitionStatsDumper);
- partitionDumpStats(getRenderingPartition(), "rendering_partition", partitionStatsDumper);
+ partitionDumpStats(getLayoutPartition(), "layout_partition", partitionStatsDumper);
}
} // namespace WTF
« Source/wtf/Partitions.h ('K') | « Source/wtf/Partitions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698