blob: 6147f449647c37400e076deb6cd7a4ed55f387b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- gpu/ipc/service/gpu_watchdog_thread.h.orig 2020-09-08 19:14:06 UTC
+++ gpu/ipc/service/gpu_watchdog_thread.h
@@ -213,7 +213,7 @@ class GPU_IPC_SERVICE_EXPORT GpuWatchdogThreadImplV1
base::ThreadTicks GetWatchedThreadTime();
#endif
-#if defined(USE_X11)
+#if defined(USE_X11) && !defined(OS_BSD)
void UpdateActiveTTY();
#endif
@@ -261,7 +261,7 @@ class GPU_IPC_SERVICE_EXPORT GpuWatchdogThreadImplV1
base::Time check_time_;
base::TimeTicks check_timeticks_;
-#if defined(USE_X11)
+#if defined(USE_X11) && !defined(OS_BSD)
FILE* tty_file_;
int host_tty_;
int active_tty_ = -1;
|