commit | d517756f0f905014d84c684f0e306d7db65e7028 | [log] [tgz] |
---|---|---|
author | Matthew Cary <mattcary@chromium.org> | Thu Jun 13 14:38:46 2019 |
committer | Matthew Cary (CET) <mattcary@chromium.org> | Thu Jun 13 14:38:46 2019 |
tree | 546f729b2228a6dadb5c064b14e8ef3e2a8c2424 | |
parent | f10c3148ed2f5a24673903b877c12067f05c3fc4 [diff] |
ChromeOS media: remove unnecessary FD duplication. The recent refactoring CL crrev.com/c/1613297 introduced unnecessary duplication of file descriptors. Worse, those descriptors could leak, eventually leading to resource exhaustion. As an added bonus, several legacy uses of SharedMemory and SharedMemoryHandle are updated to the new API. See crbug.com/965455 for a motivating example of leaky file descriptors. (cherry picked from commit 842e2a8cb87738c74ca6f95c7173961d0bf5bfe4) Bug: 849207, 971575 Change-Id: I8b6c06689d99a12c97af19bd3eabdb0918b1ba22 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1645301 Commit-Queue: Matthew Cary (CET) <mattcary@chromium.org> Reviewed-by: Wei Lee <wtlee@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#666626} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1657841 Reviewed-by: Matthew Cary (CET) <mattcary@chromium.org> Cr-Commit-Position: refs/branch-heads/3809@{#287} Cr-Branched-From: d82dec1a818f378c464ba307ddd9c92133eac355-refs/heads/master@{#665002}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .