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

Unified Diff: Source/core/inspector/InspectorTimelineAgent.cpp

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/inspector/MemoryInstrumentationImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/inspector/MemoryInstrumentationImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698