mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 70.0.3538.0 (#587811)
Known issues: - The CefLoadCRLSetsFile function needs to be re-implemented (see issue #2497). - Linux: GTK2 support has been removed. The cefclient sample needs to be updated to use GTK3 (see issue #2014).
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "chrome/install_static/initialize_from_primary_module.h"
|
||||
#include "chrome_elf/chrome_elf_main.h"
|
||||
#include "components/crash/content/app/crashpad.h"
|
||||
#include "content/public/app/sandbox_helper_win.h"
|
||||
@@ -71,6 +72,16 @@ void DisableFMA3() {
|
||||
}
|
||||
#endif // defined(ARCH_CPU_X86_64)
|
||||
|
||||
// Transfer state from chrome_elf.dll to the libcef.dll. Accessed when
|
||||
// loading chrome://system.
|
||||
void InitInstallDetails() {
|
||||
static bool initialized = false;
|
||||
if (initialized)
|
||||
return;
|
||||
initialized = true;
|
||||
install_static::InitializeFromPrimaryModule();
|
||||
}
|
||||
|
||||
// Signal chrome_elf to initialize crash reporting, rather than doing it in
|
||||
// DllMain. See https://crbug.com/656800 for details.
|
||||
void InitCrashReporter() {
|
||||
@@ -156,6 +167,7 @@ int CefExecuteProcess(const CefMainArgs& args,
|
||||
#if defined(ARCH_CPU_X86_64)
|
||||
DisableFMA3();
|
||||
#endif
|
||||
InitInstallDetails();
|
||||
InitCrashReporter();
|
||||
#endif
|
||||
|
||||
@@ -215,6 +227,7 @@ bool CefInitialize(const CefMainArgs& args,
|
||||
#if defined(ARCH_CPU_X86_64)
|
||||
DisableFMA3();
|
||||
#endif
|
||||
InitInstallDetails();
|
||||
InitCrashReporter();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user