Use CreateAndOpenTemporaryFile for TestLauncher sub-process output.
CreateAndOpenTemporaryFile() both allocates a temporary-file name, and opens the file, rather than having the launcher create the file, then close and re-open it as we were doing previously. Bug: 752557 Change-Id: Idd1122ae1688df4742103691176039faf6d3f136 Reviewed-on: https://chromium-review.googlesource.com/611775Reviewed-by:Paweł Hajdan Jr. <phajdan.jr@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#495983}
Showing
Please register or sign in to comment