aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome__browser__ui__aura__chrome_browser_main_extra_parts_aura.h
blob: ca430f98618c806d414e23eb85a82f64e1c56ebc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.h.orig	2015-01-26 10:33:29
+++ chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.h
@@ -25,7 +25,7 @@
   void PostMainMessageLoopRun() override;
 
  private:
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
   // On the Linux desktop, we want to prevent the user from logging in as root,
   // so that we don't destroy the profile.
   void DetectRunningAsRoot();