summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-chrome_browser_memory__details.cc
blob: 760e08c52aedabd186fb549ffdd28a91e846e883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- chrome/browser/memory_details.cc.orig	2017-04-19 19:06:29 UTC
+++ chrome/browser/memory_details.cc
@@ -35,7 +35,7 @@
 #include "extensions/features/features.h"
 #include "ui/base/l10n/l10n_util.h"
 
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
 #include "content/public/browser/zygote_host_linux.h"
 #endif
 
@@ -337,7 +337,7 @@ void MemoryDetails::CollectChildInfoOnUI
       process.titles.push_back(title);
     }
 
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD)
     if (content::ZygoteHost::GetInstance()->IsZygotePid(process.pid)) {
       process.process_type = content::PROCESS_TYPE_ZYGOTE;
     }
OpenPOWER on IntegriCloud