• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git content/browser/child_process_launcher_helper_linux.cc content/browser/child_process_launcher_helper_linux.cc
2index f60ad777ab769..5c585569da117 100644
3--- content/browser/child_process_launcher_helper_linux.cc
4+++ content/browser/child_process_launcher_helper_linux.cc
5@@ -162,7 +162,7 @@ void ChildProcessLauncherHelper::SetProcessPriorityOnLauncherThread(
6 base::File OpenFileToShare(const base::FilePath& path,
7                            base::MemoryMappedFile::Region* region) {
8   base::FilePath exe_dir;
9-  bool result = base::PathService::Get(base::BasePathKey::DIR_EXE, &exe_dir);
10+  bool result = base::PathService::Get(base::BasePathKey::DIR_ASSETS, &exe_dir);
11   DCHECK(result);
12   base::File file(exe_dir.Append(path),
13                   base::File::FLAG_OPEN | base::File::FLAG_READ);
14diff --git sandbox/linux/suid/client/setuid_sandbox_host.cc sandbox/linux/suid/client/setuid_sandbox_host.cc
15index 7022a65e03578..c9aaf5d76e4a1 100644
16--- sandbox/linux/suid/client/setuid_sandbox_host.cc
17+++ sandbox/linux/suid/client/setuid_sandbox_host.cc
18@@ -120,7 +120,7 @@ bool SetuidSandboxHost::IsDisabledViaEnvironment() {
19 base::FilePath SetuidSandboxHost::GetSandboxBinaryPath() {
20   base::FilePath sandbox_binary;
21   base::FilePath exe_dir;
22-  if (base::PathService::Get(base::DIR_EXE, &exe_dir)) {
23+  if (base::PathService::Get(base::DIR_ASSETS, &exe_dir)) {
24     base::FilePath sandbox_candidate = exe_dir.AppendASCII("chrome-sandbox");
25     if (base::PathExists(sandbox_candidate))
26       sandbox_binary = sandbox_candidate;
27diff --git ui/ozone/common/egl_util.cc ui/ozone/common/egl_util.cc
28index 08d42145b1d75..8fee0adc9b819 100644
29--- ui/ozone/common/egl_util.cc
30+++ ui/ozone/common/egl_util.cc
31@@ -158,7 +158,7 @@ bool LoadDefaultEGLGLES2Bindings(
32 #if BUILDFLAG(ENABLE_SWIFTSHADER)
33     base::FilePath module_path;
34 #if !BUILDFLAG(IS_FUCHSIA)
35-    if (!base::PathService::Get(base::DIR_MODULE, &module_path))
36+    if (!base::PathService::Get(base::DIR_ASSETS, &module_path))
37       return false;
38     module_path = module_path.Append(FILE_PATH_LITERAL("swiftshader/"));
39 #endif
40@@ -171,7 +171,7 @@ bool LoadDefaultEGLGLES2Bindings(
41   } else if (implementation.gl == gl::kGLImplementationEGLANGLE) {
42     base::FilePath module_path;
43 #if !BUILDFLAG(IS_FUCHSIA)
44-    if (!base::PathService::Get(base::DIR_MODULE, &module_path))
45+    if (!base::PathService::Get(base::DIR_ASSETS, &module_path))
46       return false;
47 #endif
48
49