Changeset 129043 in webkit


Ignore:
Timestamp:
Sep 19, 2012 2:10:14 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Clean up the SpellingLog output
https://bugs.webkit.org/show_bug.cgi?id=97129

Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-09-19
Reviewed by Rob Buis.

Internally reviewed by Mike Fenton.

  • WebKitSupport/InputHandler.cpp:

(BlackBerry::WebKit::InputHandler::spellCheckingRequestCancelled):
(BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r129040 r129043  
     12012-09-19  Nima Ghanavatian  <nghanavatian@rim.com>
     2
     3        [BlackBerry] Clean up the SpellingLog output
     4        https://bugs.webkit.org/show_bug.cgi?id=97129
     5
     6        Reviewed by Rob Buis.
     7
     8        Internally reviewed by Mike Fenton.
     9
     10        * WebKitSupport/InputHandler.cpp:
     11        (BlackBerry::WebKit::InputHandler::spellCheckingRequestCancelled):
     12        (BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed):
     13
    1142012-09-19  Mike Fenton  <mifenton@rim.com>
    215
  • trunk/Source/WebKit/blackberry/WebKitSupport/InputHandler.cpp

    r129040 r129043  
    604604void InputHandler::spellCheckingRequestCancelled(int32_t transactionId)
    605605{
    606     if (transactionId != m_processingTransactionId)
    607         SpellingLog(LogLevelWarn, "InputHandler::spellCheckingRequestCancelled We are out of sync with input service. Expected transaction id %d, received %d.", m_processingTransactionId, transactionId);
    608     else
    609         SpellingLog(LogLevelWarn, "InputHandler::spellCheckingRequestCancelled Request with transaction id %d has been cancelled.", transactionId);
     606    SpellingLog(LogLevelWarn, "InputHandler::spellCheckingRequestCancelled Expected transaction id %d, received %d. %s"
     607                , transactionId
     608                , m_processingTransactionId
     609                , transactionId == m_processingTransactionId ? "" : "We are out of sync with input service.");
     610
    610611    m_request->didCancel();
    611612    m_processingTransactionId = -1;
     
    614615void InputHandler::spellCheckingRequestProcessed(int32_t transactionId, spannable_string_t* spannableString)
    615616{
    616     if (transactionId != m_processingTransactionId)
    617         SpellingLog(LogLevelWarn, "InputHandler::spellCheckingRequestProcessed We are out of sync with input service. Expected transaction id %d, received %d.", m_processingTransactionId, transactionId);
     617    SpellingLog(LogLevelWarn, "InputHandler::spellCheckingRequestProcessed Expected transaction id %d, received %d. %s"
     618                , transactionId
     619                , m_processingTransactionId
     620                , transactionId == m_processingTransactionId ? "" : "We are out of sync with input service.");
    618621
    619622    if (!spannableString || !isActiveTextEdit()) {
Note: See TracChangeset for help on using the changeset viewer.