Use xpc_connection_kill for killing child processes where appropriate
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 May 2014 22:41:17 +0000 (22:41 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 May 2014 22:41:17 +0000 (22:41 +0000)
commit02e767dff1f2cbe72a2bc4e965283c4f1ceed514
treefb593815de9f59fed0b7c2f7a9b67321103b59b6
parent6bbb341954da30fc5caef4381c1b9543380d08f7
Use xpc_connection_kill for killing child processes where appropriate
https://bugs.webkit.org/show_bug.cgi?id=132788
<rdar://problem/16664185>

Reviewed by Sam Weinig.

* Platform/IPC/Connection.h:
* Platform/IPC/mac/ConnectionMac.mm:
(IPC::Connection::kill):
* Platform/IPC/mac/XPCPtr.h:
(IPC::XPCPtr::operator bool):
* Shared/ChildProcessProxy.cpp:
(WebKit::ChildProcessProxy::terminate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Platform/IPC/Connection.h
Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm
Source/WebKit2/Platform/IPC/mac/XPCPtr.h
Source/WebKit2/Shared/ChildProcessProxy.cpp