Title: [204939] branches/safari-602.1.50.0-branch/Source/WebKit2
Revision
204939
Author
[email protected]
Date
2016-08-24 15:29:11 -0700 (Wed, 24 Aug 2016)

Log Message

Roll out r204911 via r204922. rdar://problem/27896368

Modified Paths

Diff

Modified: branches/safari-602.1.50.0-branch/Source/WebKit2/ChangeLog (204938 => 204939)


--- branches/safari-602.1.50.0-branch/Source/WebKit2/ChangeLog	2016-08-24 22:25:17 UTC (rev 204938)
+++ branches/safari-602.1.50.0-branch/Source/WebKit2/ChangeLog	2016-08-24 22:29:11 UTC (rev 204939)
@@ -1,5 +1,9 @@
 2016-08-24  Babak Shafiei  <[email protected]>
 
+        Rollout r204922. rdar://problem/27896368
+
+2016-08-24  Babak Shafiei  <[email protected]>
+
         Merge r204911. rdar://problem/27896368
 
     2016-08-24  Anders Carlsson  <[email protected]>

Modified: branches/safari-602.1.50.0-branch/Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm (204938 => 204939)


--- branches/safari-602.1.50.0-branch/Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm	2016-08-24 22:25:17 UTC (rev 204938)
+++ branches/safari-602.1.50.0-branch/Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm	2016-08-24 22:29:11 UTC (rev 204939)
@@ -111,19 +111,8 @@
     
 void Connection::platformInvalidate()
 {
-    if (!m_isConnected) {
-        if (m_sendPort) {
-            mach_port_deallocate(mach_task_self(), m_sendPort);
-            m_sendPort = MACH_PORT_NULL;
-        }
-
-        if (m_receivePort) {
-            mach_port_mod_refs(mach_task_self(), m_receivePort, MACH_PORT_RIGHT_RECEIVE, -1);
-            m_receivePort = MACH_PORT_NULL;
-        }
-
+    if (!m_isConnected)
         return;
-    }
 
     m_isConnected = false;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to