mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: Revert early chrome_elf crashpad initialization (issue #2122)
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
|
||||
#include "libcef/common/crash_reporting_win.h"
|
||||
|
||||
#include "libcef/common/crash_reporting.h"
|
||||
|
||||
#include "base/debug/crash_logging.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "chrome/common/chrome_constants.h"
|
||||
@@ -119,17 +117,4 @@ bool InitializeCrashReportingForModule() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void BlockUntilHandlerStarted() {
|
||||
if (!crash_reporting::Enabled())
|
||||
return;
|
||||
|
||||
HMODULE chrome_elf = GetModuleHandle(chrome::kChromeElfDllName);
|
||||
if (chrome_elf) {
|
||||
auto block_until_handler_started = reinterpret_cast<void (*)()>(
|
||||
GetProcAddress(chrome_elf, "BlockUntilHandlerStartedImpl"));
|
||||
if (block_until_handler_started)
|
||||
block_until_handler_started();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace crash_reporting_win
|
||||
|
Reference in New Issue
Block a user