mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: Skip InitializeSandboxInfo if the sandbox is disabled.
Calling InitializeSandboxInfo from inside libcef won’t work unless libcef is statically linked with the executable, so there's no point in doing so. See the Chromium sandbox docs for background.
This commit is contained in:
@@ -392,7 +392,6 @@ bool CefContext::Initialize(const CefMainArgs& args,
|
||||
#if defined(OS_WIN)
|
||||
sandbox::SandboxInterfaceInfo sandbox_info = {0};
|
||||
if (windows_sandbox_info == nullptr) {
|
||||
content::InitializeSandboxInfo(&sandbox_info);
|
||||
windows_sandbox_info = &sandbox_info;
|
||||
settings_.no_sandbox = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user