Changeset 141287 in webkit


Ignore:
Timestamp:
Jan 30, 2013 11:12:45 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Fix Win build after r141177
https://bugs.webkit.org/show_bug.cgi?id=108325

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2013-01-30
Reviewed by Anders Carlsson.

  • Platform/CoreIPC/win/ConnectionWin.cpp:

(CoreIPC::Connection::readEventHandler):
(CoreIPC::Connection::sendOutgoingMessage):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r141275 r141287  
     12013-01-30  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
     2
     3        [Qt] Fix Win build after r141177
     4        https://bugs.webkit.org/show_bug.cgi?id=108325
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * Platform/CoreIPC/win/ConnectionWin.cpp:
     9        (CoreIPC::Connection::readEventHandler):
     10        (CoreIPC::Connection::sendOutgoingMessage):
     11
    1122013-01-30  Thiago Marcos P. Santos  <thiago.santos@intel.com>
    213
  • trunk/Source/WebKit2/Platform/CoreIPC/win/ConnectionWin.cpp

    r139041 r141287  
    171171            size_t realBufferSize = m_readBuffer.size() - sizeof(MessageID);
    172172
    173             unsigned messageID = *reinterpret_cast<unsigned*>(m_readBuffer.data() + realBufferSize);
    174 
    175173            OwnPtr<MessageDecoder> decoder = MessageDecoder::create(DataReference(m_readBuffer.data(), realBufferSize));
    176             processIncomingMessage(MessageID::fromInt(messageID), decoder.release());
     174            processIncomingMessage(MessageID(), decoder.release());
    177175        }
    178176
     
    289287
    290288    // We put the message ID last.
    291     encoder->encode(static_cast<uint32_t>(messageID.toInt()));
     289    encoder->encode(0);
    292290
    293291    // Write the outgoing message.
Note: See TracChangeset for help on using the changeset viewer.