summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-content_browser_v8__snapshot__files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-content_browser_v8__snapshot__files.cc')
-rw-r--r--devel/electron13/files/patch-content_browser_v8__snapshot__files.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-content_browser_v8__snapshot__files.cc b/devel/electron13/files/patch-content_browser_v8__snapshot__files.cc
new file mode 100644
index 000000000000..79aa7edac9f0
--- /dev/null
+++ b/devel/electron13/files/patch-content_browser_v8__snapshot__files.cc
@@ -0,0 +1,11 @@
+--- content/browser/v8_snapshot_files.cc.orig 2021-01-07 00:36:33 UTC
++++ content/browser/v8_snapshot_files.cc
+@@ -10,7 +10,7 @@
+ namespace content {
+
+ std::map<std::string, base::FilePath> GetV8SnapshotFilesToPreload() {
+-#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))}};