aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc')
-rw-r--r--www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc b/www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc
new file mode 100644
index 000000000000..56a5da9a93e3
--- /dev/null
+++ b/www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc
@@ -0,0 +1,29 @@
+--- content/browser/gpu/gpu_internals_ui.cc.orig 2016-05-11 19:02:20 UTC
++++ content/browser/gpu/gpu_internals_ui.cc
+@@ -37,7 +37,7 @@
+ #include "third_party/angle/src/common/version.h"
+ #include "ui/gl/gpu_switching_manager.h"
+
+-#if defined(OS_LINUX) && defined(USE_X11)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11)
+ #include <X11/Xlib.h>
+ #endif
+ #if defined(OS_WIN)
+@@ -45,7 +45,7 @@
+ #include "ui/gfx/win/physical_size.h"
+ #endif
+
+-#if defined(OS_LINUX) && defined(USE_X11)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11)
+ #include "ui/base/x/x11_util.h"
+ #include "ui/gfx/x/x11_atom_cache.h"
+ #endif
+@@ -198,7 +198,7 @@ base::DictionaryValue* GpuInfoAsDictiona
+ gpu_info.gl_ws_version));
+ basic_info->Append(NewDescriptionValuePair("Window system binding extensions",
+ gpu_info.gl_ws_extensions));
+-#if defined(OS_LINUX) && defined(USE_X11)
++#if (defined(OS_BSD) || defined(OS_LINUX)) && defined(USE_X11)
+ basic_info->Append(NewDescriptionValuePair("Window manager",
+ ui::GuessWindowManagerName()));
+ {