Index: Source/core/inspector/InspectorTimelineAgent.cpp |
diff --git a/Source/core/inspector/InspectorTimelineAgent.cpp b/Source/core/inspector/InspectorTimelineAgent.cpp |
index 6cae6979ae24c718b622d22b4220561277171eca..a7bde07d4f5d75e505562fc246718b261d3a5455 100644 |
--- a/Source/core/inspector/InspectorTimelineAgent.cpp |
+++ b/Source/core/inspector/InspectorTimelineAgent.cpp |
@@ -601,11 +601,7 @@ void InspectorTimelineAgent::setNativeHeapStatistics(TypeBuilder::Timeline::Time |
return; |
if (!m_state->getBoolean(TimelineAgentState::includeNativeMemoryStatistics)) |
return; |
- HashMap<String, size_t> map; |
- m_memoryAgent->getProcessMemoryDistributionMap(&map); |
RefPtr<InspectorObject> stats = InspectorObject::create(); |
- for (HashMap<String, size_t>::iterator it = map.begin(); it != map.end(); ++it) |
- stats->setNumber(it->key, it->value); |
size_t privateBytes = 0; |
size_t sharedBytes = 0; |
MemoryUsageSupport::processMemorySizesInBytes(&privateBytes, &sharedBytes); |