DescriptionAdd NewMachPort() and its test, and switch call sites to use it.
There were many call sites that wasted a few lines on
mach_port_allocate() and sticking the result into a scoper. I was about
to add three more, so I took the opportunity to simplify things.
TEST=util_test
R=rsesek@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/a02f721637fc0c999f83796fe80044bc912fcc1a
Patch Set 1 #
Total comments: 1
Patch Set 2 : Address review feedback #
Messages
Total messages: 6 (1 generated)
|