Index: ppapi/proxy/serialized_structs.h |
=================================================================== |
--- ppapi/proxy/serialized_structs.h (revision 200710) |
+++ ppapi/proxy/serialized_structs.h (working copy) |
@@ -120,11 +120,11 @@ |
// TODO(raymes): Make ImageHandle compatible with SerializedHandle. |
#if defined(OS_WIN) |
typedef HANDLE ImageHandle; |
-#elif defined(OS_MACOSX) || defined(OS_ANDROID) |
+#elif defined(TOOLKIT_GTK) |
+// On legacy X Windows this is a SysV shared memory key. |
+typedef int ImageHandle; |
+#else |
typedef base::SharedMemoryHandle ImageHandle; |
-#else |
-// On X Windows this is a SysV shared memory key. |
-typedef int ImageHandle; |
#endif |
} // namespace proxy |