DescriptionRemove unnecessary inclusion of sys/syscall.h in base/logging.cc
The inclusion of sys/syscall.h was introduced in crrev.com/4916 to
obtain the current thread ID via `syscall(__NR_gettid)`. The code was
later changed in crrev.com/118152 to use
`base::PlatformThread::CurrentId()` instead. The inclusion of
sys/syscall.h is no longer needed and thus removed by this CL.
BUG=None
Committed: https://crrev.com/3bf198b69c4ab5b2ebf0ebc6b5ddf285302be863
Cr-Commit-Position: refs/heads/master@{#381735}
Patch Set 1 #
Messages
Total messages: 14 (7 generated)
|