Index: content/browser/accessibility/browser_accessibility.cc |
diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc |
index a5b7edc7cb8235ff1024d3e82b43805a8514c109..f3cf3779f9f2909d7afcc9495d01950f45a0145f 100644 |
--- a/content/browser/accessibility/browser_accessibility.cc |
+++ b/content/browser/accessibility/browser_accessibility.cc |
@@ -16,11 +16,12 @@ |
namespace content { |
-#if !defined(OS_MACOSX) && \ |
- !defined(OS_WIN) && \ |
- !defined(OS_ANDROID) |
-// We have subclassess of BrowserAccessibility on Mac and Win. For any other |
-// platform, instantiate the base class. |
+#if !defined(OS_WIN) && \ |
+ !defined(OS_MACOSX) && \ |
+ !defined(OS_ANDROID) && \ |
+ !(defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)) |
+// We have subclassess of BrowserAccessibility on some platforms. |
+// On other platforms, instantiate the base class. |
// static |
BrowserAccessibility* BrowserAccessibility::Create() { |
return new BrowserAccessibility(); |