Changeset 144914 in webkit


Ignore:
Timestamp:
Mar 6, 2013 6:02:38 AM (11 years ago)
Author:
abecsi@webkit.org
Message:

[Qt][WK2] Fix the Mac build after r144787
https://bugs.webkit.org/show_bug.cgi?id=111569

Reviewed by Csaba Osztrogonác.

Use uint_64 explicitly instead of size_t.

  • Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:

(CoreIPC::::encode):
(CoreIPC::::decode):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r144911 r144914  
     12013-03-06  Andras Becsi  <andras.becsi@digia.com>
     2
     3        [Qt][WK2] Fix the Mac build after r144787
     4        https://bugs.webkit.org/show_bug.cgi?id=111569
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        Use uint_64 explicitly instead of size_t.
     9
     10        * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
     11        (CoreIPC::::encode):
     12        (CoreIPC::::decode):
     13
    1142013-03-05  Kent Tamura  <tkent@chromium.org>
    215
  • trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp

    r144907 r144914  
    10221022    // We need to encode WebCoordinatedSurface::Handle right after it's creation.
    10231023    // That's why we cannot use simple std::pair encoder.
    1024     encoder << state.imagesToUpdate.size();
     1024    encoder << static_cast<uint64_t>(state.imagesToUpdate.size());
    10251025
    10261026    typedef Vector<std::pair<CoordinatedImageBackingID, RefPtr<CoordinatedSurface> > > SurfaceUpdatePairVector;
     
    10581058        return false;
    10591059
    1060     size_t sizeOfImagesToUpdate;
     1060    uint64_t sizeOfImagesToUpdate;
    10611061    if (!decoder.decode(sizeOfImagesToUpdate))
    10621062        return false;
    10631063
    1064     for (size_t i = 0; i < sizeOfImagesToUpdate; i++) {
     1064    for (uint64_t i = 0; i < sizeOfImagesToUpdate; i++) {
    10651065        CoordinatedImageBackingID imageID;
    10661066        if (!decoder.decode(imageID))
Note: See TracChangeset for help on using the changeset viewer.