Index: ppapi/proxy/serialized_structs.h |
=================================================================== |
--- ppapi/proxy/serialized_structs.h (revision 192603) |
+++ ppapi/proxy/serialized_structs.h (working copy) |
@@ -119,11 +119,11 @@ |
#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 |