Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index df630d3e0c5b514d1f7ae2031fc753accd39a4cb..e85ae75607d7219f0cc33b812456546b7796d87f 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -180,11 +180,11 @@ IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) |
IPC_STRUCT_TRAITS_MEMBER(speech_input_enabled) |
IPC_STRUCT_TRAITS_MEMBER(spellcheck_enabled) |
IPC_STRUCT_TRAITS_MEMBER(is_editable) |
-#if defined(OS_MACOSX) |
+#if defined(OS_MACOSX) || defined(TOOLKIT_GTK) |
IPC_STRUCT_TRAITS_MEMBER(writing_direction_default) |
IPC_STRUCT_TRAITS_MEMBER(writing_direction_left_to_right) |
IPC_STRUCT_TRAITS_MEMBER(writing_direction_right_to_left) |
-#endif // OS_MACOSX |
+#endif // OS_MACOSX || defined(TOOLKIT_GTK) |
IPC_STRUCT_TRAITS_MEMBER(edit_flags) |
IPC_STRUCT_TRAITS_MEMBER(security_info) |
IPC_STRUCT_TRAITS_MEMBER(frame_charset) |