ports/www/chromium/files/patch-content_browser_v8__snapshot__files.cc

11 lines
460 B
C++

--- content/browser/v8_snapshot_files.cc.orig 2023-02-08 09:03:45 UTC
+++ content/browser/v8_snapshot_files.cc
@@ -11,7 +11,7 @@
namespace content {
std::map<std::string, base::FilePath> GetV8SnapshotFilesToPreload() {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#if BUILDFLAG(USE_V8_CONTEXT_SNAPSHOT)
return {{kV8ContextSnapshotDataDescriptor,
base::FilePath(