Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1423)

Unified Diff: ui/views/accessibility/native_view_accessibility.cc

Issue 1005293002: Re-land: Resurrect Aura Linux accessibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/accessibility/native_view_accessibility.cc
diff --git a/ui/views/accessibility/native_view_accessibility.cc b/ui/views/accessibility/native_view_accessibility.cc
index aeb2c7071a2b9e46cd3d89dded5b6a2bfbc29973..a11f773d62a67e816bda3fb3a240bd1bed693905 100644
--- a/ui/views/accessibility/native_view_accessibility.cc
+++ b/ui/views/accessibility/native_view_accessibility.cc
@@ -13,7 +13,7 @@
namespace views {
-#if !defined(OS_WIN)
+#if !defined(OS_WIN) && !(defined(OS_LINUX) && !defined(OS_CHROMEOS))
// static
NativeViewAccessibility* NativeViewAccessibility::Create(View* view) {
return new NativeViewAccessibility(view);
@@ -23,7 +23,8 @@ NativeViewAccessibility* NativeViewAccessibility::Create(View* view) {
NativeViewAccessibility::NativeViewAccessibility(View* view)
: view_(view),
parent_widget_(nullptr),
- ax_node_(ui::AXPlatformNode::Create(this)) {
+ ax_node_(nullptr) {
+ ax_node_ = ui::AXPlatformNode::Create(this);
}
NativeViewAccessibility::~NativeViewAccessibility() {

Powered by Google App Engine
This is Rietveld 408576698