summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-chrome_browser_memory__details.cc
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2021-11-24 17:28:24 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2021-11-24 17:30:52 +0900
commit4da4f5edbf9de5c4269cf66d70044f4cb3abdc41 (patch)
tree21363ca7518a943c48bde3a669c78444685f832e /devel/electron13/files/patch-chrome_browser_memory__details.cc
parentports-mgmt/octopkg: update description and WWW (diff)
devel/electron13: update to 13.6.2 (and rename from devel/electron12)
Changelog: https://www.electronjs.org/blog/electron-13-0
Diffstat (limited to 'devel/electron13/files/patch-chrome_browser_memory__details.cc')
-rw-r--r--devel/electron13/files/patch-chrome_browser_memory__details.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-chrome_browser_memory__details.cc b/devel/electron13/files/patch-chrome_browser_memory__details.cc
new file mode 100644
index 000000000000..7a362fae216b
--- /dev/null
+++ b/devel/electron13/files/patch-chrome_browser_memory__details.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/memory_details.cc.orig 2021-07-15 19:13:33 UTC
++++ chrome/browser/memory_details.cc
+@@ -39,7 +39,7 @@
+ #include "services/resource_coordinator/public/cpp/memory_instrumentation/memory_instrumentation.h"
+ #include "ui/base/l10n/l10n_util.h"
+
+-#if defined(OS_POSIX) && !defined(OS_MAC) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MAC) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ #include "content/public/browser/zygote_host/zygote_host_linux.h"
+ #endif
+
+@@ -347,7 +347,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
+ process.titles.push_back(title);
+ }
+
+-#if defined(OS_POSIX) && !defined(OS_MAC) && !defined(OS_ANDROID)
++#if defined(OS_POSIX) && !defined(OS_MAC) && !defined(OS_ANDROID) && !defined(OS_BSD)
+ if (content::ZygoteHost::GetInstance()->IsZygotePid(process.pid)) {
+ process.process_type = content::PROCESS_TYPE_ZYGOTE;
+ }