summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-72.0.3626.96/gpu-timeout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/www-client/chromium-72.0.3626.96/gpu-timeout.patch')
-rw-r--r--patches/www-client/chromium-72.0.3626.96/gpu-timeout.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/www-client/chromium-72.0.3626.96/gpu-timeout.patch b/patches/www-client/chromium-72.0.3626.96/gpu-timeout.patch
new file mode 100644
index 0000000..3055999
--- /dev/null
+++ b/patches/www-client/chromium-72.0.3626.96/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
+@@ -44,7 +44,7 @@ const int kGpuTimeout = 30000;
+ // infected machines.
+ const int kGpuTimeout = 15000;
+ #else
+-const int kGpuTimeout = 10000;
++const int kGpuTimeout = 20000;
+ #endif
+
+ #if defined(USE_X11)