Title: [141287] trunk/Source/WebKit2
- Revision
- 141287
- Author
- commit-qu...@webkit.org
- Date
- 2013-01-30 11:12:45 -0800 (Wed, 30 Jan 2013)
Log Message
[Qt] Fix Win build after r141177
https://bugs.webkit.org/show_bug.cgi?id=108325
Patch by Zoltan Arvai <zar...@inf.u-szeged.hu> on 2013-01-30
Reviewed by Anders Carlsson.
* Platform/CoreIPC/win/ConnectionWin.cpp:
(CoreIPC::Connection::readEventHandler):
(CoreIPC::Connection::sendOutgoingMessage):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (141286 => 141287)
--- trunk/Source/WebKit2/ChangeLog 2013-01-30 19:02:16 UTC (rev 141286)
+++ trunk/Source/WebKit2/ChangeLog 2013-01-30 19:12:45 UTC (rev 141287)
@@ -1,3 +1,14 @@
+2013-01-30 Zoltan Arvai <zar...@inf.u-szeged.hu>
+
+ [Qt] Fix Win build after r141177
+ https://bugs.webkit.org/show_bug.cgi?id=108325
+
+ Reviewed by Anders Carlsson.
+
+ * Platform/CoreIPC/win/ConnectionWin.cpp:
+ (CoreIPC::Connection::readEventHandler):
+ (CoreIPC::Connection::sendOutgoingMessage):
+
2013-01-30 Thiago Marcos P. Santos <thiago.san...@intel.com>
REGRESSION (r141051): Broke plugin support on non-Mac WebKit2 Ports
Modified: trunk/Source/WebKit2/Platform/CoreIPC/win/ConnectionWin.cpp (141286 => 141287)
--- trunk/Source/WebKit2/Platform/CoreIPC/win/ConnectionWin.cpp 2013-01-30 19:02:16 UTC (rev 141286)
+++ trunk/Source/WebKit2/Platform/CoreIPC/win/ConnectionWin.cpp 2013-01-30 19:12:45 UTC (rev 141287)
@@ -170,10 +170,8 @@
ASSERT(m_readBuffer.size() >= sizeof(MessageID));
size_t realBufferSize = m_readBuffer.size() - sizeof(MessageID);
- unsigned messageID = *reinterpret_cast<unsigned*>(m_readBuffer.data() + realBufferSize);
-
OwnPtr<MessageDecoder> decoder = MessageDecoder::create(DataReference(m_readBuffer.data(), realBufferSize));
- processIncomingMessage(MessageID::fromInt(messageID), decoder.release());
+ processIncomingMessage(MessageID(), decoder.release());
}
// Find out the size of the next message in the pipe (if there is one) so that we can read
@@ -288,7 +286,7 @@
return false;
// We put the message ID last.
- encoder->encode(static_cast<uint32_t>(messageID.toInt()));
+ encoder->encode(0);
// Write the outgoing message.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes