diff options
Diffstat (limited to 'www/chromium/files/patch-chrome_app_chrome__main.cc')
-rw-r--r-- | www/chromium/files/patch-chrome_app_chrome__main.cc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/www/chromium/files/patch-chrome_app_chrome__main.cc b/www/chromium/files/patch-chrome_app_chrome__main.cc index 450c2c6b0bc2..ea26c9429517 100644 --- a/www/chromium/files/patch-chrome_app_chrome__main.cc +++ b/www/chromium/files/patch-chrome_app_chrome__main.cc @@ -1,11 +1,19 @@ ---- chrome/app/chrome_main.cc.orig 2017-07-25 21:04:49.000000000 +0200 -+++ chrome/app/chrome_main.cc 2017-08-01 23:35:54.553290000 +0200 -@@ -92,7 +92,7 @@ - const base::CommandLine* command_line(base::CommandLine::ForCurrentProcess()); +--- chrome/app/chrome_main.cc.orig 2017-09-05 21:05:12.000000000 +0200 ++++ chrome/app/chrome_main.cc 2017-09-06 17:23:42.720920000 +0200 +@@ -99,14 +99,14 @@ ALLOW_UNUSED_LOCAL(command_line); + // Chrome-specific process modes. -#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) +#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_BSD) if (command_line->HasSwitch(switches::kHeadless)) { #if defined(OS_MACOSX) SetUpBundleOverrides(); + #endif + return headless::HeadlessShellMain(params); + } +-#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) ++#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_BSD) + + #if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING) + #if !defined(OS_WIN) || defined(COMPONENT_BUILD) || \ |