diff options
Diffstat (limited to 'www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc')
-rw-r--r-- | www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc b/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc deleted file mode 100644 index 14afbe252fb6..000000000000 --- a/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- gpu/ipc/service/gpu_watchdog_thread.cc.orig 2022-01-20 10:35:58 UTC -+++ gpu/ipc/service/gpu_watchdog_thread.cc -@@ -88,7 +88,7 @@ GpuWatchdogThread::GpuWatchdogThread(base::TimeDelta t - } - #endif - --#if defined(USE_X11) -+#if defined(USE_X11) && !defined(OS_BSD) - tty_file_ = base::OpenFile( - base::FilePath(FILE_PATH_LITERAL("/sys/class/tty/tty0/active")), "r"); - UpdateActiveTTY(); -@@ -116,7 +116,7 @@ GpuWatchdogThread::~GpuWatchdogThread() { - CloseHandle(watched_thread_handle_); - #endif - --#if defined(USE_X11) -+#if defined(USE_X11) && !defined(OS_BSD) - if (tty_file_) - fclose(tty_file_); - #endif -@@ -451,7 +451,7 @@ void GpuWatchdogThread::OnWatchdogTimeout() { - if (foregrounded_event_) - num_of_timeout_after_foregrounded_++; - --#if defined(USE_X11) -+#if defined(USE_X11) && !defined(OS_BSD) - UpdateActiveTTY(); - #endif - -@@ -719,7 +719,7 @@ bool GpuWatchdogThread::WithinOneMinFromForegrounded() - return foregrounded_event_ && num_of_timeout_after_foregrounded_ <= count; - } - --#if defined(USE_X11) -+#if defined(USE_X11) && !defined(OS_BSD) - void GpuWatchdogThread::UpdateActiveTTY() { - last_active_tty_ = active_tty_; - -@@ -736,7 +736,7 @@ void GpuWatchdogThread::UpdateActiveTTY() { - #endif - - bool GpuWatchdogThread::ContinueOnNonHostX11ServerTty() { --#if defined(USE_X11) -+#if defined(USE_X11) && !defined(OS_BSD) - if (host_tty_ == -1 || active_tty_ == -1) - return false; - |