Index: content/browser/gpu/browser_gpu_memory_buffer_manager.cc |
diff --git a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc |
index 5c1d25a07576b49a0f448c552ce371aba184e75f..7dbcee6109382f2e70930962eba816e06524de8c 100644 |
--- a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc |
+++ b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc |
@@ -192,6 +192,10 @@ bool BrowserGpuMemoryBufferManager::OnMemoryDump( |
buffer_id); |
pmd->CreateSharedGlobalAllocatorDump(shared_buffer_guid); |
pmd->AddOwnershipEdge(dump->guid(), shared_buffer_guid); |
+ // TODO(hajimehoshi): GpuMemoryBuffer might be allocated in SharedMemory. |
+ // This depends on configuration (IsNativeGpuMemoryBufferConfiguration). |
+ // Get shared memory handle of that and call |
+ // base::SharedMemoryTracker::AddOwnershipEdges here when necessary. |
} |
} |