Guard and unguard ports in a much less intrusive way
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Feb 2017 16:54:31 +0000 (16:54 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Feb 2017 16:54:31 +0000 (16:54 +0000)
commit3c03fec58c640334ac72d32e3e21ed12db76d7b1
tree04fd852a0b87037a2dceb841a5b0c4e283cb4e2e
parent8977dcdda43e3dd1459b6c95d3b00ac2f8876e53
Guard and unguard ports in a much less intrusive way
https://bugs.webkit.org/show_bug.cgi?id=167813

Reviewed by Sam Weinig.

Instead of adopting mach_port_construct/mach_port_destruct, just guard and unguard the ports where appropriate.

* Platform/IPC/mac/ConnectionMac.mm:
(IPC::Connection::platformInitialize):
(IPC::Connection::open):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm