Index: content/public/common/context_menu_params.cc |
diff --git a/content/public/common/context_menu_params.cc b/content/public/common/context_menu_params.cc |
index 4a5f4858c31811b693dba13858a0eb8eaddcf0b1..a267fb2698b24c808f80288b3143fe38d2eaf52b 100644 |
--- a/content/public/common/context_menu_params.cc |
+++ b/content/public/common/context_menu_params.cc |
@@ -25,14 +25,14 @@ ContextMenuParams::ContextMenuParams() |
speech_input_enabled(false), |
spellcheck_enabled(false), |
is_editable(false), |
-#if defined(OS_MACOSX) |
+#if defined(OS_MACOSX) || defined(TOOLKIT_GTK) |
writing_direction_default( |
blink::WebContextMenuData::CheckableMenuItemDisabled), |
writing_direction_left_to_right( |
blink::WebContextMenuData::CheckableMenuItemEnabled), |
writing_direction_right_to_left( |
blink::WebContextMenuData::CheckableMenuItemEnabled), |
-#endif // OS_MACOSX |
+#endif // OS_MACOSX || defined(TOOLKIT_GTK) |
edit_flags(0), |
referrer_policy(blink::WebReferrerPolicyDefault) { |
} |