blob: 8cd5dbb55565b29049a406c3d53f97aa6a53c273 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- chrome/browser/gpu/gl_string_manager.cc.orig 2017-04-19 19:06:29 UTC
+++ chrome/browser/gpu/gl_string_manager.cc
@@ -33,7 +33,7 @@ GLStringManager::~GLStringManager() {
void GLStringManager::Initialize() {
// On MacOSX or Windows, preliminary GPUInfo is enough.
-#if defined(OS_LINUX)
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
// We never remove this observer from GpuDataManager.
content::GpuDataManager::GetInstance()->AddObserver(this);
|