Index: Source/web/ContextMenuClientImpl.cpp |
diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp |
index 42f8b1a2ac9bcdea0435f3f1a5d2adb0e658c29b..7d1ee1afc1f88edb73ac3b98c509933aa11f49c5 100644 |
--- a/Source/web/ContextMenuClientImpl.cpp |
+++ b/Source/web/ContextMenuClientImpl.cpp |
@@ -346,7 +346,7 @@ void ContextMenuClientImpl::showContextMenu(const WebCore::ContextMenu* defaultM |
} |
} |
-#if OS(MACOSX) |
+#if OS(MACOSX) || OS(LINUX) |
if (selectedFrame->editor().selectionHasStyle(CSSPropertyDirection, "ltr") != FalseTriState) |
data.writingDirectionLeftToRight |= WebContextMenuData::CheckableMenuItemChecked; |
if (selectedFrame->editor().selectionHasStyle(CSSPropertyDirection, "rtl") != FalseTriState) |