pkgsrc-wip/chromium/patches/patch-content_browser_devto...

14 lines
677 B
C++

$NetBSD$
--- content/browser/devtools/protocol/system_info_handler.cc.orig 2020-07-08 21:40:42.000000000 +0000
+++ content/browser/devtools/protocol/system_info_handler.cc
@@ -47,7 +47,7 @@ std::unique_ptr<SystemInfo::Size> GfxSiz
// Give the GPU process a few seconds to provide GPU info.
// Linux Debug builds need more time -- see Issue 796437 and 1046598.
// Windows builds need more time -- see Issue 873112 and 1004472.
-#if (defined(OS_LINUX) && !defined(NDEBUG)) || defined(OS_WIN)
+#if ((defined(OS_LINUX) || defined(OS_BSD)) && !defined(NDEBUG)) || defined(OS_WIN)
const int kGPUInfoWatchdogTimeoutMs = 30000;
#else
const int kGPUInfoWatchdogTimeoutMs = 5000;