Title: [131203] trunk/Source/WebKit2
- Revision
- 131203
- Author
- [email protected]
- Date
- 2012-10-12 11:30:05 -0700 (Fri, 12 Oct 2012)
Log Message
Stop using deprecatedSend inside ConnectionMac.cpp
https://bugs.webkit.org/show_bug.cgi?id=99192
Reviewed by Andreas Kling.
The messages that we send are so simple that we can just use sendMessage.
* Platform/CoreIPC/mac/ConnectionMac.cpp:
(CoreIPC::Connection::open):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (131202 => 131203)
--- trunk/Source/WebKit2/ChangeLog 2012-10-12 18:10:19 UTC (rev 131202)
+++ trunk/Source/WebKit2/ChangeLog 2012-10-12 18:30:05 UTC (rev 131203)
@@ -1,3 +1,15 @@
+2012-10-12 Anders Carlsson <[email protected]>
+
+ Stop using deprecatedSend inside ConnectionMac.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=99192
+
+ Reviewed by Andreas Kling.
+
+ The messages that we send are so simple that we can just use sendMessage.
+
+ * Platform/CoreIPC/mac/ConnectionMac.cpp:
+ (CoreIPC::Connection::open):
+
2012-10-12 Brady Eidson <[email protected]>
Add a basic NetworkProcess.app to the WebKit2 build
Modified: trunk/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp (131202 => 131203)
--- trunk/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp 2012-10-12 18:10:19 UTC (rev 131202)
+++ trunk/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp 2012-10-12 18:30:05 UTC (rev 131203)
@@ -111,8 +111,11 @@
m_isConnected = true;
// Send the initialize message, which contains a send right for the server to use.
- deprecatedSend(CoreIPCMessage::InitializeConnection, 0, MachPort(m_receivePort, MACH_MSG_TYPE_MAKE_SEND));
+ OwnPtr<ArgumentEncoder> argumentEncoder = ArgumentEncoder::create(0);
+ argumentEncoder->encode(MachPort(m_receivePort, MACH_MSG_TYPE_MAKE_SEND));
+ sendMessage(MessageID(CoreIPCMessage::InitializeConnection), argumentEncoder.release());
+
// Set the dead name handler for our send port.
initializeDeadNameSource();
}
@@ -127,7 +130,10 @@
if (m_exceptionPort) {
m_connectionQueue.registerMachPortEventHandler(m_exceptionPort, WorkQueue::MachPortDataAvailable, bind(&Connection::exceptionSourceEventHandler, this));
- deprecatedSend(CoreIPCMessage::SetExceptionPort, 0, MachPort(m_exceptionPort, MACH_MSG_TYPE_MAKE_SEND));
+ OwnPtr<ArgumentEncoder> argumentEncoder = ArgumentEncoder::create(0);
+ argumentEncoder->encode(MachPort(m_exceptionPort, MACH_MSG_TYPE_MAKE_SEND));
+
+ sendMessage(MessageID(CoreIPCMessage::SetExceptionPort), argumentEncoder.release());
}
return true;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes