| Index: Source/web/ContextMenuClientImpl.cpp
|
| diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp
|
| index 822f491ed7ac6f5643817017a6462a3f19cfbf6b..c634e356c4bd7495a7dc247575dcc25ece3827ed 100644
|
| --- a/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/Source/web/ContextMenuClientImpl.cpp
|
| @@ -133,7 +133,7 @@ static String selectMisspelledWord(Frame* selectedFrame)
|
| WebFrameImpl::selectWordAroundPosition(selectedFrame, pos);
|
| misspelledWord = selectedFrame->selectedText().stripWhiteSpace();
|
|
|
| -#if OS(DARWIN)
|
| +#if OS(MACOSX)
|
| // If misspelled word is still empty, then that portion should not be
|
| // selected. Set the selection to that position only, and do not expand.
|
| if (misspelledWord.isEmpty())
|
| @@ -345,12 +345,12 @@ void ContextMenuClientImpl::showContextMenu(const WebCore::ContextMenu* defaultM
|
| }
|
| }
|
|
|
| -#if OS(DARWIN)
|
| +#if OS(MACOSX)
|
| if (selectedFrame->editor().selectionHasStyle(CSSPropertyDirection, "ltr") != FalseTriState)
|
| data.writingDirectionLeftToRight |= WebContextMenuData::CheckableMenuItemChecked;
|
| if (selectedFrame->editor().selectionHasStyle(CSSPropertyDirection, "rtl") != FalseTriState)
|
| data.writingDirectionRightToLeft |= WebContextMenuData::CheckableMenuItemChecked;
|
| -#endif // OS(DARWIN)
|
| +#endif // OS(MACOSX)
|
|
|
| // Now retrieve the security info.
|
| DocumentLoader* dl = selectedFrame->loader()->documentLoader();
|
|
|