Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: mojo/gles2/command_buffer_client_impl.cc

Issue 1320783002: Make SharedMemoryHandle a class on windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_global
Patch Set: Rebase. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | ppapi/proxy/ppb_image_data_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | ppapi/proxy/ppb_image_data_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698