| Index: Source/web/ContextMenuClientImpl.cpp
|
| diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp
|
| index 9488f63f004a21de132fffee242f3979850143ba..e70e838cbde6ba0b61795b011b749387a50b1ba1 100644
|
| --- a/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/Source/web/ContextMenuClientImpl.cpp
|
| @@ -348,12 +348,12 @@ 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)
|
| data.writingDirectionRightToLeft |= WebContextMenuData::CheckableMenuItemChecked;
|
| -#endif // OS(MACOSX)
|
| +#endif // OS(MACOSX) || OS(LINUX)
|
|
|
| // Now retrieve the security info.
|
| DocumentLoader* dl = selectedFrame->loader().documentLoader();
|
|
|