summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_gpu_gpu__main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_gpu_gpu__main.cc')
-rw-r--r--www/chromium/files/patch-content_gpu_gpu__main.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/www/chromium/files/patch-content_gpu_gpu__main.cc b/www/chromium/files/patch-content_gpu_gpu__main.cc
index ff722f4a3504..6cd9d288eef2 100644
--- a/www/chromium/files/patch-content_gpu_gpu__main.cc
+++ b/www/chromium/files/patch-content_gpu_gpu__main.cc
@@ -1,6 +1,6 @@
---- content/gpu/gpu_main.cc.orig 2020-07-07 21:58:15 UTC
+--- content/gpu/gpu_main.cc.orig 2020-09-08 19:14:05 UTC
+++ content/gpu/gpu_main.cc
-@@ -83,7 +83,7 @@
+@@ -85,7 +85,7 @@
#include "ui/gfx/x/x11_types.h" // nogncheck
#endif
@@ -9,7 +9,7 @@
#include "content/gpu/gpu_sandbox_hook_linux.h"
#include "content/public/common/sandbox_init.h"
#include "services/service_manager/sandbox/linux/sandbox_linux.h"
-@@ -108,7 +108,7 @@ namespace content {
+@@ -109,7 +109,7 @@ namespace content {
namespace {
@@ -18,7 +18,7 @@
bool StartSandboxLinux(gpu::GpuWatchdogThread*,
const gpu::GPUInfo*,
const gpu::GpuPreferences&);
-@@ -161,7 +161,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel
+@@ -162,7 +162,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel
bool EnsureSandboxInitialized(gpu::GpuWatchdogThread* watchdog_thread,
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) override {
@@ -27,16 +27,16 @@
return StartSandboxLinux(watchdog_thread, gpu_info, gpu_prefs);
#elif defined(OS_WIN)
return StartSandboxWindows(sandbox_info_);
-@@ -282,7 +282,7 @@ int GpuMain(const MainFunctionParams& parameters) {
- main_thread_task_executor =
- std::make_unique<base::SingleThreadTaskExecutor>(
- gpu_preferences.message_pump_type);
+@@ -297,7 +297,7 @@ int GpuMain(const MainFunctionParams& parameters) {
+ gpu_preferences.message_pump_type);
+ }
+ #endif
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
#error "Unsupported Linux platform."
#elif defined(OS_MACOSX)
// Cross-process CoreAnimation requires a CFRunLoop to function at all, and
-@@ -424,7 +424,7 @@ int GpuMain(const MainFunctionParams& parameters) {
+@@ -450,7 +450,7 @@ int GpuMain(const MainFunctionParams& parameters) {
namespace {
@@ -45,7 +45,7 @@
bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread,
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) {
-@@ -461,7 +461,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo
+@@ -487,7 +487,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo
return res;
}