Skip to content
  • morrita@google.com's avatar
    2011-05-22 MORITA Hajime <morrita@google.com> · b99ad684
    morrita@google.com authored
            Reviewed by Ryosuke Niwa.
    
            SUPPORT_AUTOCORRECTION_PANEL should be USE(AUTOCORRECTION_PANEL)
            https://bugs.webkit.org/show_bug.cgi?id=61181
    
            - Removed SUPPORT_AUTOCORRECTION_PANEL and REMOVE_MARKERS_UPON_EDITING from SpellingCorrectionController.h
            - Define WTF_USE_UNIFIED_TEXT_CHECKING and WTF_USE_AUTOMATIC_TEXT_REPLACEMENT at TextChecking.h
    
            No new tests. Just renaming a compilation conditional.
    
            * editing/Editor.cpp:
            (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
            * editing/SpellingCorrectionCommand.cpp:
            (WebCore::SpellingCorrectionCommand::doApply):
            * editing/SpellingCorrectionController.cpp:
            * editing/SpellingCorrectionController.h:
            (WebCore::SpellingCorrectionController::shouldRemoveMarkersUponEditing):
            * loader/EmptyClients.h:
            * page/EditorClient.h:
            * platform/text/TextChecking.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b99ad684