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

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

Issue 1002993002: Revert of Resurrect Aura Linux accessibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/accessibility/native_view_accessibility_auralinux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a11f773d62a67e816bda3fb3a240bd1bed693905..aeb2c7071a2b9e46cd3d89dded5b6a2bfbc29973 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) && !(defined(OS_LINUX) && !defined(OS_CHROMEOS))
+#if !defined(OS_WIN)
// static
NativeViewAccessibility* NativeViewAccessibility::Create(View* view) {
return new NativeViewAccessibility(view);
@@ -23,8 +23,7 @@
NativeViewAccessibility::NativeViewAccessibility(View* view)
: view_(view),
parent_widget_(nullptr),
- ax_node_(nullptr) {
- ax_node_ = ui::AXPlatformNode::Create(this);
+ ax_node_(ui::AXPlatformNode::Create(this)) {
}
NativeViewAccessibility::~NativeViewAccessibility() {
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/accessibility/native_view_accessibility_auralinux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698