Index: content/child/child_gpu_memory_buffer_manager.cc |
diff --git a/content/child/child_gpu_memory_buffer_manager.cc b/content/child/child_gpu_memory_buffer_manager.cc |
index 9a7517d7b8d358bc235e59fe81da4e0764b26c06..b7153e82003fe24318f42b4e7b808b1b946beb15 100644 |
--- a/content/child/child_gpu_memory_buffer_manager.cc |
+++ b/content/child/child_gpu_memory_buffer_manager.cc |
@@ -5,6 +5,7 @@ |
#include "content/child/child_gpu_memory_buffer_manager.h" |
#include "content/common/child_process_messages.h" |
+#include "content/common/generic_shared_memory_tracing_id_generator.h" |
#include "content/common/gpu/client/gpu_memory_buffer_impl.h" |
namespace content { |
@@ -41,7 +42,8 @@ ChildGpuMemoryBufferManager::AllocateGpuMemoryBuffer(const gfx::Size& size, |
gfx::GpuMemoryBufferHandle handle; |
IPC::Message* message = new ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer( |
- size.width(), size.height(), format, usage, &handle); |
+ content::GetNextGenericSharedMemoryTracingId(), size.width(), |
+ size.height(), format, usage, &handle); |
bool success = sender_->Send(message); |
if (!success || handle.is_null()) |
return nullptr; |