DescriptionAndroid: Get rid of extra dup()s on launching child processes
This is a regression from [1] which added a dup() call on
the renderer launching process. This CL removes these calls
by reveiling the subtle ownership of the file descriptors.
The original intention here was to completely hide and simplify
the notion of the ownership, at the cost of a few dup() calls.
However, the crash report on the reported bug indicates that
the dup() can fail and it lets the renderer initialization fail,
probably due to some per-process limit of the number of opened files.
[1] https://codereview.chromium.org/585203002
R=mdempsky@chromium.org, jam@chromium.org
BUG=455364
Committed: https://crrev.com/f7302eb74f6e79d5b4e26ea5e9aa4e4eb81a52f1
Cr-Commit-Position: refs/heads/master@{#315353}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 9 (1 generated)
|