summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_browser_v8__snapshot__files.cc
blob: bf6171165df95d04c36d1d81b2e304539c085762 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- content/browser/v8_snapshot_files.cc.orig	2021-12-31 00:57:32 UTC
+++ content/browser/v8_snapshot_files.cc
@@ -15,7 +15,7 @@ namespace content {
 
 std::map<std::string, base::FilePath> GetV8SnapshotFilesToPreload(
     base::CommandLine& process_command_line) {
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
 #if defined(USE_V8_CONTEXT_SNAPSHOT)
   return {{kV8ContextSnapshotDataDescriptor,
            base::FilePath(FILE_PATH_LITERAL(V8_CONTEXT_SNAPSHOT_FILENAME))}};