diff options
Diffstat (limited to 'www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc')
| -rw-r--r-- | www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc b/www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc index eef27af40533..1bbc0697bc56 100644 --- a/www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc +++ b/www/ungoogled-chromium/files/patch-chrome_browser_headless_headless__mode__util.cc @@ -1,6 +1,6 @@ ---- chrome/browser/headless/headless_mode_util.cc.orig 2025-09-10 13:22:16 UTC +--- chrome/browser/headless/headless_mode_util.cc.orig 2025-11-17 10:37:57 UTC +++ chrome/browser/headless/headless_mode_util.cc -@@ -10,7 +10,7 @@ +@@ -12,7 +12,7 @@ // New headless mode is available on Linux, Windows and Mac platforms. // More platforms will be added later, so avoid function level clutter // by providing stub implementations at the end of the file. @@ -9,7 +9,7 @@ #include "base/base_switches.h" #include "base/files/file_path.h" -@@ -19,7 +19,7 @@ +@@ -23,7 +23,7 @@ #include "chrome/common/chrome_switches.h" #include "content/public/common/content_switches.h" @@ -18,12 +18,12 @@ #include "ui/gl/gl_switches.h" // nogncheck #include "ui/ozone/public/ozone_switches.h" // nogncheck #endif // BUILDFLAG(IS_LINUX) -@@ -94,7 +94,7 @@ class HeadlessModeHandleImpl : public HeadlessModeHand - } +@@ -113,7 +113,7 @@ class HeadlessModeHandleImpl : public HeadlessModeHand + command_line->AppendSwitchPath(switches::kUserDataDir, user_data_dir); } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Headless mode on Linux relies on ozone/headless platform. - command_line->AppendSwitchASCII(::switches::kOzonePlatform, - switches::kHeadless); + // Headless mode on Linux relies on ozone/headless platform. + command_line->AppendSwitchASCII(::switches::kOzonePlatform, + switches::kHeadless); |
