Title: [156363] trunk/Source/WebKit2
Revision
156363
Author
[email protected]
Date
2013-09-24 15:18:17 -0700 (Tue, 24 Sep 2013)

Log Message

Unreviewed buildfix after r156354 and r156360.

* Platform/CoreIPC/unix/ConnectionUnix.cpp:
(CoreIPC::Connection::processMessage):
(CoreIPC::Connection::sendOutgoingMessage):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (156362 => 156363)


--- trunk/Source/WebKit2/ChangeLog	2013-09-24 22:09:19 UTC (rev 156362)
+++ trunk/Source/WebKit2/ChangeLog	2013-09-24 22:18:17 UTC (rev 156363)
@@ -1,5 +1,13 @@
 2013-09-24  Csaba Osztrogonác  <[email protected]>
 
+        Unreviewed buildfix after r156354 and r156360.
+
+        * Platform/CoreIPC/unix/ConnectionUnix.cpp:
+        (CoreIPC::Connection::processMessage):
+        (CoreIPC::Connection::sendOutgoingMessage):
+
+2013-09-24  Csaba Osztrogonác  <[email protected]>
+
         Unreviewed buildfix after r156349.
 
         * Platform/CoreIPC/unix/ConnectionUnix.cpp:

Modified: trunk/Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp (156362 => 156363)


--- trunk/Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp	2013-09-24 22:09:19 UTC (rev 156362)
+++ trunk/Source/WebKit2/Platform/CoreIPC/unix/ConnectionUnix.cpp	2013-09-24 22:18:17 UTC (rev 156363)
@@ -287,9 +287,9 @@
     if (messageInfo.isMessageBodyIsOutOfLine())
         messageBody = reinterpret_cast<uint8_t*>(oolMessageBody->data());
 
-    OwnPtr<MessageDecoder> decoder = createOwned<MessageDecoder>(DataReference(messageBody, messageInfo.bodySize()), std::move(attachments));
+    auto decoder = std::make_unique<MessageDecoder>(DataReference(messageBody, messageInfo.bodySize()), std::move(attachments));
 
-    processIncomingMessage(decoder.release());
+    processIncomingMessage(std::move(decoder));
 
     if (m_readBufferSize > messageLength) {
         memmove(m_readBuffer.data(), m_readBuffer.data() + messageLength, m_readBufferSize - messageLength);
@@ -441,7 +441,7 @@
     return m_isConnected;
 }
 
-bool Connection::sendOutgoingMessage(OwnPtr<MessageEncoder> encoder)
+bool Connection::sendOutgoingMessage(std::unique_ptr<MessageEncoder> encoder)
 {
 #if PLATFORM(QT)
     ASSERT(m_socketNotifier);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to