Index: Source/platform/Partitions.h |
diff --git a/Source/platform/Partitions.h b/Source/platform/Partitions.h |
index c589220f5fca4620c9c167a17dc47939030f9bab..1f298f72262851f654faee8593d03085a41a1c3f 100644 |
--- a/Source/platform/Partitions.h |
+++ b/Source/platform/Partitions.h |
@@ -44,6 +44,8 @@ public: |
ALWAYS_INLINE static PartitionRoot* getObjectModelPartition() { return m_objectModelAllocator.root(); } |
ALWAYS_INLINE static PartitionRoot* getRenderingPartition() { return m_renderingAllocator.root(); } |
+ static size_t currentDOMMemoryUsage() { return m_objectModelAllocator.root()->totalSizeOfNonFreePages; } |
Chris Evans
2014/06/06 18:30:50
I don't see any PartitionAlloc.h change in this la
kouhei (in TOK)
2014/06/09 05:48:22
Done. Sorry I reverted it by mistake.
|
+ |
private: |
static SizeSpecificPartitionAllocator<3072> m_objectModelAllocator; |
static SizeSpecificPartitionAllocator<1024> m_renderingAllocator; |