Commit bdeab577 authored by sullivan's avatar sullivan

* platform/ContextMenu.cpp:

        (WebCore::ContextMenu::checkOrEnableIfNeeded):
        Leopard build fix; don't declare one of the case values twice



git-svn-id: svn://svn.chromium.org/blink/trunk@18866 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d7f66139
2007-01-15 John Sullivan <sullivan@apple.com>
* platform/ContextMenu.cpp:
(WebCore::ContextMenu::checkOrEnableIfNeeded):
Leopard build fix; don't declare one of the case values twice
2007-01-15 Mitz Pettel <mitz@webkit.org>
Reviewed by Darin.
......
......@@ -408,13 +408,13 @@ void ContextMenu::checkOrEnableIfNeeded(ContextMenuItem& item) const
case ContextMenuItemTagLookUpInDictionary:
shouldEnable = frame->selectionController()->isRange();
break;
#ifndef BUILDING_ON_TIGER
case ContextMenuItemTagCheckGrammarWithSpelling:
#ifndef BUILDING_ON_TIGER
if (frame->editor()->isGrammarCheckingEnabled())
shouldCheck = true;
shouldEnable = true;
break;
#endif
break;
case ContextMenuItemTagItalic: {
ExceptionCode ec = 0;
RefPtr<CSSStyleDeclaration> style = frame->document()->createCSSStyleDeclaration();
......@@ -478,7 +478,6 @@ void ContextMenu::checkOrEnableIfNeeded(ContextMenuItem& item) const
case ContextMenuItemTagIgnoreGrammar:
case ContextMenuItemTagSpellingMenu:
case ContextMenuItemTagCheckSpellingWhileTyping:
case ContextMenuItemTagCheckGrammarWithSpelling:
case ContextMenuItemTagFontMenu:
case ContextMenuItemTagShowFonts:
case ContextMenuItemTagStyles:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment