aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc')
-rw-r--r--www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc b/www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc
new file mode 100644
index 000000000000..0a8b6347372b
--- /dev/null
+++ b/www/chromium/files/patch-chrome_browser_gpu_gpu__feature__checker.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/gpu/gpu_feature_checker.cc.orig 2016-03-25 13:04:45 UTC
++++ chrome/browser/gpu/gpu_feature_checker.cc
+@@ -34,7 +34,7 @@ void GPUFeatureChecker::CheckGPUFeatureA
+ CHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+
+ bool finalized = true;
+-#if defined(OS_LINUX)
++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
+ // On Windows and Mac, so far we can always make the final WebGL blacklisting
+ // decision based on partial GPU info; on Linux, we need to launch the GPU
+ // process to collect full GPU info and make the final decision.