Index: mojo/gles2/command_buffer_client_impl.cc |
diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc |
index b34d438078400d12ebb164b47afe11212a56bd4b..c4c228a310bba4f86c2769c8bc7455381662ed6b 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -272,7 +272,7 @@ int32_t CommandBufferClientImpl::CreateImage(ClientBuffer buffer, |
base::SharedMemoryHandle dupd_handle = |
base::SharedMemory::DuplicateHandle(handle.handle); |
#if defined(OS_WIN) |
- HANDLE platform_handle = dupd_handle; |
+ HANDLE platform_handle = dupd_handle.GetHandle(); |
#else |
int platform_handle = dupd_handle.fd; |
#endif |