Title: [156361] trunk/Source/WebKit2
- Revision
- 156361
- Author
- [email protected]
- Date
- 2013-09-24 14:51:00 -0700 (Tue, 24 Sep 2013)
Log Message
Unreviewed buildfix after r156349.
* Platform/CoreIPC/unix/ConnectionUnix.cpp:
(CoreIPC::Connection::processMessage):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (156360 => 156361)
--- trunk/Source/WebKit2/ChangeLog 2013-09-24 21:46:18 UTC (rev 156360)
+++ trunk/Source/WebKit2/ChangeLog 2013-09-24 21:51:00 UTC (rev 156361)
@@ -1,3 +1,10 @@
+2013-09-24 Csaba Osztrogonác <[email protected]>
+
+ Unreviewed buildfix after r156349.
+
+ * Platform/CoreIPC/unix/ConnectionUnix.cpp:
+ (CoreIPC::Connection::processMessage):
+
2013-09-24 Anders Carlsson <[email protected]>
Use std::unique_ptr for decoders as well
Modified: trunk/Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp (156360 => 156361)
--- trunk/Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp 2013-09-24 21:46:18 UTC (rev 156360)
+++ trunk/Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp 2013-09-24 21:51:00 UTC (rev 156361)
@@ -287,11 +287,7 @@
if (messageInfo.isMessageBodyIsOutOfLine())
messageBody = reinterpret_cast<uint8_t*>(oolMessageBody->data());
- OwnPtr<MessageDecoder> decoder;
- if (attachments.isEmpty())
- decoder = MessageDecoder::create(DataReference(messageBody, messageInfo.bodySize()));
- else
- decoder = MessageDecoder::create(DataReference(messageBody, messageInfo.bodySize()), attachments);
+ OwnPtr<MessageDecoder> decoder = createOwned<MessageDecoder>(DataReference(messageBody, messageInfo.bodySize()), std::move(attachments));
processIncomingMessage(decoder.release());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes