Index: ui/gfx/mojo/buffer_types_struct_traits.cc |
diff --git a/ui/gfx/mojo/buffer_types_struct_traits.cc b/ui/gfx/mojo/buffer_types_struct_traits.cc |
index 14a98a8606fdc4fd89103397f07c5a3362b38a9a..5e3c0fcd6919c0493664b0283ec4bd3f206e5b25 100644 |
--- a/ui/gfx/mojo/buffer_types_struct_traits.cc |
+++ b/ui/gfx/mojo/buffer_types_struct_traits.cc |
@@ -129,8 +129,7 @@ bool StructTraits<gfx::mojom::GpuMemoryBufferHandleDataView, |
if (unwrap_result != MOJO_RESULT_OK) |
return false; |
#if defined(OS_WIN) |
- out->handle = |
- base::SharedMemoryHandle(platform_file, base::GetCurrentProcId()); |
+ out->handle = base::SharedMemoryHandle(platform_file); |
#else |
out->handle = |
base::SharedMemoryHandle(base::FileDescriptor(platform_file, true)); |