summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/gpu-timeout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/www-client/chromium-73.0.3683.75/gpu-timeout.patch')
-rw-r--r--patches/www-client/chromium-73.0.3683.75/gpu-timeout.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/www-client/chromium-73.0.3683.75/gpu-timeout.patch b/patches/www-client/chromium-73.0.3683.75/gpu-timeout.patch
new file mode 100644
index 0000000..406bf01
--- /dev/null
+++ b/patches/www-client/chromium-73.0.3683.75/gpu-timeout.patch
@@ -0,0 +1,15 @@
+description: 10 seconds may not be enough, so don't kill the gpu process until 20.
+author: Chad MILLER <chad.miller@canonical.com>
+bug-debian: http://bugs.debian.org/781940
+
+--- a/gpu/ipc/service/gpu_watchdog_thread.cc
++++ b/gpu/ipc/service/gpu_watchdog_thread.cc
+@@ -47,7 +47,7 @@ const int kGpuTimeout = 30000;
+ // hangs at context creation during startup. See https://crbug.com/918490.
+ const int kGpuTimeout = 15000;
+ #else
+-const int kGpuTimeout = 10000;
++const int kGpuTimeout = 20000;
+ #endif
+
+ #if defined(USE_X11)