summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_logging__unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_logging__unittest.cc')
-rw-r--r--www/chromium/files/patch-base_logging__unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/chromium/files/patch-base_logging__unittest.cc b/www/chromium/files/patch-base_logging__unittest.cc
index 8cd0a56dcf8a..53f299987dca 100644
--- a/www/chromium/files/patch-base_logging__unittest.cc
+++ b/www/chromium/files/patch-base_logging__unittest.cc
@@ -1,6 +1,6 @@
---- base/logging_unittest.cc.orig 2017-06-21 19:47:24.089128000 +0200
-+++ base/logging_unittest.cc 2017-06-21 20:02:08.177123000 +0200
-@@ -272,7 +272,7 @@
+--- base/logging_unittest.cc.orig 2019-03-11 22:00:51 UTC
++++ base/logging_unittest.cc
+@@ -420,7 +420,7 @@ void CheckCrashTestSighandler(int, siginfo_t* info, vo
// need the arch-specific boilerplate below, which is inspired by breakpad.
// At the same time, on OSX, ucontext.h is deprecated but si_addr works fine.
uintptr_t crash_addr = 0;
@@ -8,4 +8,4 @@
+#if defined(OS_MACOSX) || defined(OS_BSD)
crash_addr = reinterpret_cast<uintptr_t>(info->si_addr);
#else // OS_POSIX && !OS_MACOSX
- struct ucontext* context = reinterpret_cast<struct ucontext*>(context_ptr);
+ ucontext_t* context = reinterpret_cast<ucontext_t*>(context_ptr);