Index: ui/gfx/ipc/gfx_param_traits_macros.h |
diff --git a/ui/gfx/ipc/gfx_param_traits_macros.h b/ui/gfx/ipc/gfx_param_traits_macros.h |
index cdee2f6ba3644c78ccd82e57701ef7467bec3364..0001851212e3455c7e81add4c2797544693acdc4 100644 |
--- a/ui/gfx/ipc/gfx_param_traits_macros.h |
+++ b/ui/gfx/ipc/gfx_param_traits_macros.h |
@@ -15,7 +15,7 @@ |
#include "ui/gfx/selection_bound.h" |
#include "ui/gfx/swap_result.h" |
-#if defined(USE_OZONE) |
+#if defined(OS_LINUX) |
#include "ui/gfx/native_pixmap_handle.h" |
#endif |
@@ -39,7 +39,7 @@ IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) |
IPC_STRUCT_TRAITS_MEMBER(handle) |
IPC_STRUCT_TRAITS_MEMBER(offset) |
IPC_STRUCT_TRAITS_MEMBER(stride) |
-#if defined(USE_OZONE) |
+#if defined(OS_LINUX) |
IPC_STRUCT_TRAITS_MEMBER(native_pixmap_handle) |
#elif defined(OS_MACOSX) |
IPC_STRUCT_TRAITS_MEMBER(mach_port) |
@@ -50,7 +50,7 @@ IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId) |
IPC_STRUCT_TRAITS_MEMBER(id) |
IPC_STRUCT_TRAITS_END() |
-#if defined(USE_OZONE) |
+#if defined(OS_LINUX) |
IPC_STRUCT_TRAITS_BEGIN(gfx::NativePixmapPlane) |
IPC_STRUCT_TRAITS_MEMBER(stride) |
IPC_STRUCT_TRAITS_MEMBER(offset) |