mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 01:08:01 +08:00
Replace ScopedClearErrno with ScopedClearLastError
Includes: Update mini_chromium to bbf1307928bb7a9d1eda6be576283c8093b2775b bbf1307928bb Replace ScopedClearErrno with ScopedClearLastError Change-Id: I8eabb5f62a21c5b30c5b07face2a6afcf10bb82b Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2145829 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
e621aaa132
commit
3c44556cf1
2
DEPS
2
DEPS
@ -42,7 +42,7 @@ deps = {
|
||||
'7bde79cc274d06451bf65ae82c012a5d3e476b5a',
|
||||
'crashpad/third_party/mini_chromium/mini_chromium':
|
||||
Var('chromium_git') + '/chromium/mini_chromium@' +
|
||||
'731e08f0695801347a26d2b204d5c18f51c98282',
|
||||
'bbf1307928bb7a9d1eda6be576283c8093b2775b',
|
||||
'crashpad/third_party/libfuzzer/src':
|
||||
Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git@' +
|
||||
'fda403cf93ecb8792cb1d061564d89a6553ca020',
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include "base/logging.h"
|
||||
#include "base/scoped_clear_errno.h"
|
||||
#include "base/scoped_clear_last_error.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "build/build_config.h"
|
||||
#include "snapshot/cpu_context.h"
|
||||
@ -359,7 +359,7 @@ bool SystemSnapshotMac::NXEnabled() const {
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_14
|
||||
const bool nx_always_enabled = true;
|
||||
#else // DT >= 10.14
|
||||
base::ScopedClearErrno reset_errno;
|
||||
base::ScopedClearLastError reset_errno;
|
||||
const bool nx_always_enabled = MacOSXMinorVersion() >= 14;
|
||||
#endif // DT >= 10.14
|
||||
if (nx_always_enabled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user