Chromium Code Reviews| Index: Source/wtf/Partitions.h |
| diff --git a/Source/wtf/Partitions.h b/Source/wtf/Partitions.h |
| index a4a28028a20af6e1140450aa646a75c49406be23..de3741a86d706543481d75ed9b3997783ddca1ff 100644 |
| --- a/Source/wtf/Partitions.h |
| +++ b/Source/wtf/Partitions.h |
| @@ -66,10 +66,10 @@ public: |
| ASSERT(s_initialized); |
| return m_objectModelAllocator.root(); |
| } |
| - ALWAYS_INLINE static PartitionRoot* getRenderingPartition() |
| + ALWAYS_INLINE static PartitionRoot* getLayoutPartition() |
|
tkent
2015/06/16 05:28:43
We don't prepend 'get' to getter functions.
bashi
2015/06/16 05:38:32
Done.
|
| { |
| 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; |
| }; |