Index: Source/web/ContextMenuClientImpl.cpp |
diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp |
index e826937243dda2333f04a4b410680e2b74c63c2f..9f73af9017316e09f209d78a86c23d8b30647066 100644 |
--- a/Source/web/ContextMenuClientImpl.cpp |
+++ b/Source/web/ContextMenuClientImpl.cpp |
@@ -348,12 +348,10 @@ void ContextMenuClientImpl::showContextMenu(const WebCore::ContextMenu* defaultM |
} |
} |
-#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) || OS(LINUX) |
// Now retrieve the security info. |
DocumentLoader* dl = selectedFrame->loader().documentLoader(); |