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

Unified Diff: Source/wtf/Partitions.h

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
« no previous file with comments | « Source/wtf/FastMalloc.cpp ('k') | Source/wtf/Partitions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Partitions.h
diff --git a/Source/wtf/Partitions.h b/Source/wtf/Partitions.h
index a4a28028a20af6e1140450aa646a75c49406be23..858a693e010766d578a06a8cb93c8e87e5624cba 100644
--- a/Source/wtf/Partitions.h
+++ b/Source/wtf/Partitions.h
@@ -41,7 +41,7 @@ class WTF_EXPORT Partitions {
public:
static void initialize(HistogramEnumerationFunction = nullptr);
static void shutdown();
- ALWAYS_INLINE static PartitionRootGeneric* getBufferPartition()
+ ALWAYS_INLINE static PartitionRootGeneric* bufferPartition()
{
// TODO(haraken): This check is needed because some call sites allocate
// Blink things before WTF::initialize(). We should fix those call sites
@@ -51,7 +51,7 @@ public:
return m_bufferAllocator.root();
}
- ALWAYS_INLINE static PartitionRootGeneric* getFastMallocPartition()
+ ALWAYS_INLINE static PartitionRootGeneric* fastMallocPartition()
{
// TODO(haraken): This check is needed because some call sites allocate
// Blink things before WTF::initialize(). We should fix those call sites
@@ -61,15 +61,15 @@ public:
return m_fastMallocAllocator.root();
}
- ALWAYS_INLINE static PartitionRoot* getObjectModelPartition()
+ ALWAYS_INLINE static PartitionRoot* objectModelPartition()
{
ASSERT(s_initialized);
return m_objectModelAllocator.root();
}
- ALWAYS_INLINE static PartitionRoot* getRenderingPartition()
+ ALWAYS_INLINE static PartitionRoot* layoutPartition()
{
ASSERT(s_initialized);
- return m_renderingAllocator.root();
+ return m_layoutAllocator.root();
}
static size_t currentDOMMemoryUsage()
@@ -84,7 +84,7 @@ public:
totalSize += m_fastMallocAllocator.root()->totalSizeOfCommittedPages;
totalSize += m_bufferAllocator.root()->totalSizeOfCommittedPages;
totalSize += m_objectModelAllocator.root()->totalSizeOfCommittedPages;
- totalSize += m_renderingAllocator.root()->totalSizeOfCommittedPages;
+ totalSize += m_layoutAllocator.root()->totalSizeOfCommittedPages;
return totalSize;
}
@@ -99,7 +99,7 @@ private:
static PartitionAllocatorGeneric m_fastMallocAllocator;
static PartitionAllocatorGeneric m_bufferAllocator;
static SizeSpecificPartitionAllocator<3328> m_objectModelAllocator;
- static SizeSpecificPartitionAllocator<1024> m_renderingAllocator;
+ static SizeSpecificPartitionAllocator<1024> m_layoutAllocator;
static HistogramEnumerationFunction m_histogramEnumeration;
};
« no previous file with comments | « Source/wtf/FastMalloc.cpp ('k') | Source/wtf/Partitions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698