Index: ui/gfx/mojo/buffer_types_struct_traits.h |
diff --git a/ui/gfx/mojo/buffer_types_struct_traits.h b/ui/gfx/mojo/buffer_types_struct_traits.h |
index 1c8275260b150dbc8ac0bfca47ed371a7d79720f..ad25a17c8ae6ff539d5d58a82815ea1f61c5e1ba 100644 |
--- a/ui/gfx/mojo/buffer_types_struct_traits.h |
+++ b/ui/gfx/mojo/buffer_types_struct_traits.h |
@@ -269,7 +269,7 @@ struct StructTraits<gfx::mojom::GpuMemoryBufferHandleDataView, |
static gfx::GpuMemoryBufferId id(const gfx::GpuMemoryBufferHandle& handle) { |
return handle.id; |
} |
- static mojo::ScopedHandle shared_memory_handle( |
+ static mojo::ScopedSharedBufferHandle shared_memory_handle( |
const gfx::GpuMemoryBufferHandle& handle); |
static uint32_t offset(const gfx::GpuMemoryBufferHandle& handle) { |
return handle.offset; |