aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_gpu_gpu__child__thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_gpu_gpu__child__thread.cc')
-rw-r--r--www/chromium/files/patch-content_gpu_gpu__child__thread.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_gpu_gpu__child__thread.cc b/www/chromium/files/patch-content_gpu_gpu__child__thread.cc
new file mode 100644
index 000000000000..e7d1b0b616ac
--- /dev/null
+++ b/www/chromium/files/patch-content_gpu_gpu__child__thread.cc
@@ -0,0 +1,18 @@
+--- content/gpu/gpu_child_thread.cc.orig 2016-05-11 19:02:21 UTC
++++ content/gpu/gpu_child_thread.cc
+@@ -382,6 +382,7 @@ void GpuChildThread::StopWatchdog() {
+ }
+
+ void GpuChildThread::OnCollectGraphicsInfo() {
++#if !defined(OS_FREEBSD)
+ #if defined(OS_WIN)
+ // GPU full info collection should only happen on un-sandboxed GPU process
+ // or single process/in-process gpu mode on Windows.
+@@ -424,6 +425,7 @@ void GpuChildThread::OnCollectGraphicsIn
+ base::MessageLoop::current()->QuitWhenIdle();
+ }
+ #endif // OS_WIN
++#endif // XXX(rene) !FreeBSD
+ }
+
+ void GpuChildThread::OnGetVideoMemoryUsageStats() {