Index: components/discardable_memory/service/discardable_shared_memory_manager.cc |
diff --git a/components/discardable_memory/service/discardable_shared_memory_manager.cc b/components/discardable_memory/service/discardable_shared_memory_manager.cc |
index 0913399d492570bdccd781b9cc6850eacc26b5e8..add693c9f65d2be082dde8b7e6cebf2034a07b6b 100644 |
--- a/components/discardable_memory/service/discardable_shared_memory_manager.cc |
+++ b/components/discardable_memory/service/discardable_shared_memory_manager.cc |
@@ -330,6 +330,10 @@ bool DiscardableSharedMemoryManager::OnMemoryDump( |
pmd->CreateSharedGlobalAllocatorDump(shared_segment_guid); |
pmd->AddOwnershipEdge(dump->guid(), shared_segment_guid); |
+// TODO(hajimehoshi): base::SharedMemoryTracker::AddOwnershipEdges should |
+// be used instead of CreateSharedGlobalAllocatorDump, but the |dump| |
+// doesn't have 'size' attribute here and it wouldn't make sense so far. |
+ |
#if defined(COUNT_RESIDENT_BYTES_SUPPORTED) |
if (args.level_of_detail == |
base::trace_event::MemoryDumpLevelOfDetail::DETAILED) { |