mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
Roll DEPS for mini_chromium for updates to base/posix/safe_strerror
Also updates includes and usage of safe_strerror. BUG=499322 R=rsesek@chromium.org Review URL: https://codereview.chromium.org/1181043002. Patch from Jackie Quinn <jyquinn@chromium.org>.
This commit is contained in:
parent
1d33a8b0b6
commit
797adb3206
2
DEPS
2
DEPS
@ -28,7 +28,7 @@ deps = {
|
||||
'32ca1cd8e010d013a606a752fb49a603a3598071', # svn r2015
|
||||
'crashpad/third_party/mini_chromium/mini_chromium':
|
||||
Var('chromium_git') + '/chromium/mini_chromium@' +
|
||||
'98264cf63f22c80ba4ea33405adcc0ddcb8ce0bf',
|
||||
'b8d8fc4d87bbc76376b2e8d3272cb44421556180',
|
||||
}
|
||||
|
||||
hooks = [
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "build/build_config.h"
|
||||
|
||||
#if defined(OS_POSIX)
|
||||
#include "base/safe_strerror_posix.h"
|
||||
#include "base/posix/safe_strerror.h"
|
||||
#elif defined(OS_WIN)
|
||||
#include <string.h>
|
||||
#include <windows.h>
|
||||
@ -32,7 +32,7 @@ namespace test {
|
||||
|
||||
std::string ErrnoMessage(int err, const std::string& base) {
|
||||
#if defined(OS_POSIX)
|
||||
std::string err_as_string = safe_strerror(errno);
|
||||
std::string err_as_string = base::safe_strerror(errno);
|
||||
const char* err_string = err_as_string.c_str();
|
||||
#elif defined(OS_WIN)
|
||||
char err_string[256];
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include <servers/bootstrap.h>
|
||||
|
||||
#include "base/safe_strerror_posix.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
|
||||
namespace {
|
||||
|
Loading…
x
Reference in New Issue
Block a user