Tidy base/linux_util.cc.
- Remove unused includes. - Use ScopedFD. - Remove memory allocation with new. - Remove out-parameter checks that are always true. Change-Id: Ia4627f692057a3306f795f27b261489ca11981a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2034110Reviewed-by:Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#737883}
Showing
Please register or sign in to comment