0

Remove an unused include of <unistd.h>

This unused include contributes about about 130 MB (0.03%) of Chrome's
expanded source.

Bug: 40318405
Change-Id: I2675d7af373fb348d73ea9de0e9f0b1b6df3aab2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6281050
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Auto-Submit: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1424001}
This commit is contained in:
Jeremy Roman
2025-02-24 10:32:57 -08:00
committed by Chromium LUCI CQ
parent 119c168bb6
commit 2dbd9db122
2 changed files with 1 additions and 5 deletions
base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings
sandbox/linux/services

@ -7,13 +7,8 @@
#include <cstddef>
#include "partition_alloc/build_config.h"
#include "partition_alloc/partition_alloc_base/component_export.h"
#if !PA_BUILDFLAG(IS_WIN)
#include <unistd.h>
#endif
namespace partition_alloc::internal::base::strings {
// Similar to std::ostringstream, but creates a C string, i.e. nul-terminated

@ -15,6 +15,7 @@
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <memory>