mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-07 15:48:41 +01:00
916360e2e5
- Windows: SDK version 10.0.20348.0 is now required. - MacOS: SDK version 12.3 (Xcode 13.3) is now required. - Legacy swiftshader binaries (`swiftshader/*` on Win/Linux and `libswiftshader_*.dylib` on MacOS) have been removed (see issue #3176).
40 lines
2.0 KiB
Diff
40 lines
2.0 KiB
Diff
diff --git content/browser/child_process_launcher_helper_linux.cc content/browser/child_process_launcher_helper_linux.cc
|
|
index f60ad777ab769..5c585569da117 100644
|
|
--- content/browser/child_process_launcher_helper_linux.cc
|
|
+++ content/browser/child_process_launcher_helper_linux.cc
|
|
@@ -162,7 +162,7 @@ void ChildProcessLauncherHelper::SetProcessPriorityOnLauncherThread(
|
|
base::File OpenFileToShare(const base::FilePath& path,
|
|
base::MemoryMappedFile::Region* region) {
|
|
base::FilePath exe_dir;
|
|
- bool result = base::PathService::Get(base::BasePathKey::DIR_EXE, &exe_dir);
|
|
+ bool result = base::PathService::Get(base::BasePathKey::DIR_ASSETS, &exe_dir);
|
|
DCHECK(result);
|
|
base::File file(exe_dir.Append(path),
|
|
base::File::FLAG_OPEN | base::File::FLAG_READ);
|
|
diff --git sandbox/linux/suid/client/setuid_sandbox_host.cc sandbox/linux/suid/client/setuid_sandbox_host.cc
|
|
index e79a6e0b31091..9626ec1b9a922 100644
|
|
--- sandbox/linux/suid/client/setuid_sandbox_host.cc
|
|
+++ sandbox/linux/suid/client/setuid_sandbox_host.cc
|
|
@@ -119,7 +119,7 @@ bool SetuidSandboxHost::IsDisabledViaEnvironment() {
|
|
base::FilePath SetuidSandboxHost::GetSandboxBinaryPath() {
|
|
base::FilePath sandbox_binary;
|
|
base::FilePath exe_dir;
|
|
- if (base::PathService::Get(base::DIR_EXE, &exe_dir)) {
|
|
+ if (base::PathService::Get(base::DIR_ASSETS, &exe_dir)) {
|
|
base::FilePath sandbox_candidate = exe_dir.AppendASCII("chrome-sandbox");
|
|
if (base::PathExists(sandbox_candidate))
|
|
sandbox_binary = sandbox_candidate;
|
|
diff --git ui/ozone/common/egl_util.cc ui/ozone/common/egl_util.cc
|
|
index 9ebf5d4d121a8..8783a6d2cc297 100644
|
|
--- ui/ozone/common/egl_util.cc
|
|
+++ ui/ozone/common/egl_util.cc
|
|
@@ -138,7 +138,7 @@ bool LoadDefaultEGLGLES2Bindings(
|
|
if (implementation.gl == gl::kGLImplementationEGLANGLE) {
|
|
base::FilePath module_path;
|
|
#if !BUILDFLAG(IS_FUCHSIA)
|
|
- if (!base::PathService::Get(base::DIR_MODULE, &module_path))
|
|
+ if (!base::PathService::Get(base::DIR_ASSETS, &module_path))
|
|
return false;
|
|
#endif
|
|
|