Index: ui/accessibility/platform/atk_util_auralinux.cc |
diff --git a/ui/accessibility/platform/atk_util_auralinux.cc b/ui/accessibility/platform/atk_util_auralinux.cc |
index 98e98dff1698acd2f21e282cc5771f1a5fe05431..d428f4d270bea41adc0239bbde769dff50e2e92e 100644 |
--- a/ui/accessibility/platform/atk_util_auralinux.cc |
+++ b/ui/accessibility/platform/atk_util_auralinux.cc |
@@ -85,10 +85,12 @@ bool PlatformShouldEnableAccessibility() { |
#endif // defined(USE_GCONF) |
bool ShouldEnableAccessibility() { |
+#if defined(USE_GCONF) |
char* enable_accessibility = getenv(kAccessibilityEnabled); |
if ((enable_accessibility && atoi(enable_accessibility) == 1) || |
PlatformShouldEnableAccessibility()) |
return true; |
+#endif // defined(USE_GCONF) |
return false; |
} |