mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Linux: Load *.bin files from DIR_ASSETS (see issue #1936)
This commit is contained in:
		
				
					committed by
					
						 Marshall Greenblatt
						Marshall Greenblatt
					
				
			
			
				
	
			
			
			
						parent
						
							4907ec52f3
						
					
				
				
					commit
					942899d2fc
				
			| @@ -1,3 +1,16 @@ | |||||||
|  | diff --git content/browser/child_process_launcher_helper_linux.cc content/browser/child_process_launcher_helper_linux.cc | ||||||
|  | index 720b92a1a3a7..4e5551a64ced 100644 | ||||||
|  | --- content/browser/child_process_launcher_helper_linux.cc | ||||||
|  | +++ content/browser/child_process_launcher_helper_linux.cc | ||||||
|  | @@ -177,7 +177,7 @@ void ChildProcessLauncherHelper::ResetRegisteredFilesForTesting() { | ||||||
|  |  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 | diff --git sandbox/linux/suid/client/setuid_sandbox_host.cc sandbox/linux/suid/client/setuid_sandbox_host.cc | ||||||
| index a277ffa5eb59..3935b9f8c17c 100644 | index a277ffa5eb59..3935b9f8c17c 100644 | ||||||
| --- sandbox/linux/suid/client/setuid_sandbox_host.cc | --- sandbox/linux/suid/client/setuid_sandbox_host.cc | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user