| Index: components/crash/app/hard_error_handler_win.cc
|
| diff --git a/components/crash/app/hard_error_handler_win.cc b/components/crash/app/hard_error_handler_win.cc
|
| index 0bd659156315ba1abac7c8485ed748884a3e09fd..50425e92eecca9dec1ec35c34884d7046a7c1493 100644
|
| --- a/components/crash/app/hard_error_handler_win.cc
|
| +++ b/components/crash/app/hard_error_handler_win.cc
|
| @@ -14,10 +14,12 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/strings/string_util.h"
|
| -#include "components/crash/app/breakpad_client.h"
|
| +#include "components/crash/app/crash_reporter_client.h"
|
|
|
| namespace breakpad {
|
|
|
| +using crash_reporter::GetCrashReporterClient;
|
| +
|
| namespace {
|
| const DWORD kExceptionModuleNotFound = VcppException(ERROR_SEVERITY_ERROR,
|
| ERROR_MOD_NOT_FOUND);
|
| @@ -39,7 +41,7 @@ DWORD FacilityFromException(DWORD exception_code) {
|
| void RaiseHardErrorMsg(long nt_status, const std::string& p1,
|
| const std::string& p2) {
|
| // If headless just exit silently.
|
| - if (GetBreakpadClient()->IsRunningUnattended())
|
| + if (GetCrashReporterClient()->IsRunningUnattended())
|
| return;
|
|
|
| HMODULE ntdll = ::GetModuleHandleA("NTDLL.DLL");
|
|
|