Chromium Code Reviews| Index: ui/gfx/gpu_memory_buffer.h |
| diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h |
| index df0112db5ca1386360080e9121ca80544fe02212..362a5e77db8d2cabb9978586098d69d65ca0aa04 100644 |
| --- a/ui/gfx/gpu_memory_buffer.h |
| +++ b/ui/gfx/gpu_memory_buffer.h |
| @@ -9,6 +9,7 @@ |
| #include <stdint.h> |
| #include "base/memory/shared_memory.h" |
| +#include "base/trace_event/memory_allocator_dump_guid.h" |
| #include "build/build_config.h" |
| #include "ui/gfx/buffer_types.h" |
| #include "ui/gfx/generic_shared_memory_id.h" |
| @@ -52,6 +53,9 @@ struct GFX_EXPORT GpuMemoryBufferHandle { |
| #elif defined(OS_MACOSX) && !defined(OS_IOS) |
| ScopedRefCountedIOSurfaceMachPort mach_port; |
| #endif |
| + |
| + base::trace_event::MemoryAllocatorDumpGuid GetGUIDForTracing( |
| + uint64_t tracing_process_id); |
|
reveman
2017/04/17 13:21:06
I don't think this belongs as part of the Handle.
hajimehoshi
2017/04/18 08:21:59
Done.
|
| }; |
| // This interface typically correspond to a type of shared memory that is also |