Changeset 140268 in webkit


Ignore:
Timestamp:
Jan 19, 2013 11:14:27 PM (11 years ago)
Author:
zandobersek@gmail.com
Message:

Unreviewed build fix for Qt WK2 after r140258.
Use the size_t type instead of unsigned for the variable
which holds the position of the first null character in the
console message.

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:

(WTR::InjectedBundlePage::willAddMessageToConsole):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r140264 r140268  
     12013-01-19  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        Unreviewed build fix for Qt WK2 after r140258.
     4        Use the size_t type instead of unsigned for the variable
     5        which holds the position of the first null character in the
     6        console message.
     7
     8        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
     9        (WTR::InjectedBundlePage::willAddMessageToConsole):
     10
    1112013-01-19  Sheriff Bot  <webkit.review.bot@gmail.com>
    212
  • trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp

    r140258 r140268  
    14311431
    14321432    WTF::String messageString = toWTFString(message);
    1433     unsigned nullCharPos = messageString.find(UChar(0));
     1433    size_t nullCharPos = messageString.find(UChar(0));
    14341434    if (nullCharPos != WTF::notFound)
    14351435        messageString.truncate(nullCharPos);
Note: See TracChangeset for help on using the changeset viewer.