Index: third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
diff --git a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp b/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
index a931bb57660362c89d6608b2ed394219926bb832..1e2a7a5f4dd1a53df1b8ace89ded4446a2753255 100644 |
--- a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
+++ b/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
@@ -136,7 +136,7 @@ bool PartitionAllocMemoryDumpProvider::OnMemoryDump(const base::trace_event::Mem |
base::StringPrintf("%s/%s", kPartitionAllocDumpName, kPartitionsDumpName)); |
// This method calls memoryStats.partitionsDumpBucketStats with memory statistics. |
- WTF::Partitions::dumpMemoryStats(levelOfDetail == MemoryDumpLevelOfDetail::LIGHT, &partitionStatsDumper); |
+ WTF::Partitions::dumpMemoryStats(levelOfDetail != MemoryDumpLevelOfDetail::DETAILED, &partitionStatsDumper); |
base::trace_event::MemoryAllocatorDump* allocatedObjectsDump = memoryDump->CreateAllocatorDump(Partitions::kAllocatedObjectPoolName); |
allocatedObjectsDump->AddScalar("size", "bytes", partitionStatsDumper.totalActiveBytes()); |