Skip to content
  • commit-queue@webkit.org's avatar
    [BlackBerry] Use didCancel and didSucceed instead of didCheckCancel and didCheckSucceed · d4618a15
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=97033
    
    Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-09-18
    Reviewed by Rob Buis.
    
    Using these preferred public methods (the latter has a note to be made private) ensures that
    the right SpellChecker object is being called during the callback in spellCheckingRequestProcessed
    and spellCheckingRequestCancelled.
    
    Internally reviewed by Mike Fenton.
    
    By referencing the TextCheckingRequest object's methods, we don't need to keep track of the associated
    SpellChecker for each request. Removing much of the code that was put in place incorrectly to achieve this.
    
    * WebKitSupport/InputHandler.cpp:
    (BlackBerry::WebKit::InputHandler::InputHandler):
    (BlackBerry::WebKit::InputHandler::requestCheckingOfString):
    (BlackBerry::WebKit::InputHandler::spellCheckingRequestCancelled):
    (BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed):
    (BlackBerry::WebKit::InputHandler::getSpellChecker):
    * WebKitSupport/InputHandler.h:
    (InputHandler):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d4618a15