summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-content_browser_v8__snapshot__files.cc
blob: 957c743c222cb07067ddd8d01bd6c025edfe5fd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- content/browser/v8_snapshot_files.cc.orig	2020-02-24 18:39:15 UTC
+++ content/browser/v8_snapshot_files.cc
@@ -10,7 +10,7 @@
 namespace content {
 
 std::map<std::string, base::FilePath> GetV8SnapshotFilesToPreload() {
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 #if defined(USE_V8_CONTEXT_SNAPSHOT)
   return {{kV8ContextSnapshotDataDescriptor,
            base::FilePath(FILE_PATH_LITERAL("v8_context_snapshot.bin"))}};