Index: ui/gl/gl_image_shared_memory.cc |
diff --git a/ui/gl/gl_image_shared_memory.cc b/ui/gl/gl_image_shared_memory.cc |
index 83c8e5eba5388c0585072fa87a2c80f51699f499..03f5aa8700cd58d7f120014b976077fe331172a2 100644 |
--- a/ui/gl/gl_image_shared_memory.cc |
+++ b/ui/gl/gl_image_shared_memory.cc |
@@ -13,6 +13,7 @@ |
#include "base/trace_event/memory_dump_manager.h" |
#include "base/trace_event/process_memory_dump.h" |
#include "ui/gfx/buffer_format_util.h" |
+#include "ui/gfx/gpu_memory_buffer_tracing.h" |
namespace gl { |
@@ -87,8 +88,8 @@ void GLImageSharedMemory::OnMemoryDump( |
base::trace_event::MemoryAllocatorDump::kUnitsBytes, |
static_cast<uint64_t>(size_in_bytes)); |
- auto guid = GetGenericSharedMemoryGUIDForTracing(process_tracing_id, |
- shared_memory_id_); |
+ auto guid = |
+ gfx::GetSharedMemoryGUIDForTracing(process_tracing_id, shared_memory_id_); |
pmd->CreateSharedGlobalAllocatorDump(guid); |
pmd->AddOwnershipEdge(dump->guid(), guid); |
} |