Fix field trials not working in utility processes.
The simple change in utility_process_host_impl.cc wasn't enough, since utility processes can be launched elevated on Windows. In that cause, handle inheritence doesn't work since base::LaunchElevatedProcess doesn't (and can't) handle this. However, since the elevated process is by definition not sandboxed, have it duplicated the shared memory handle manually.
BUG=598073
Review-Url: https://codereview.chromium.org/2961333002
Cr-Commit-Position: refs/heads/master@{#483727}
CrOS-Libchrome-Original-Commit: b18e53ad3d63f5c36792d7025600bc9b47c6f5d7
2 files changed