Index: ui/accessibility/platform/ax_platform_node.cc |
diff --git a/ui/accessibility/platform/ax_platform_node.cc b/ui/accessibility/platform/ax_platform_node.cc |
index 37b8ef41922ebd092c2980e676f20572b86cbc7f..363b3ee3b7f29fae05a47b199b1c089a23d77577 100644 |
--- a/ui/accessibility/platform/ax_platform_node.cc |
+++ b/ui/accessibility/platform/ax_platform_node.cc |
@@ -9,10 +9,21 @@ |
namespace ui { |
-#if !defined(OS_MACOSX) |
+#if !defined(OS_MACOSX) && !defined(OS_WIN) |
// static |
AXPlatformNode* AXPlatformNode::Create(AXPlatformNodeDelegate* delegate) { |
- return NULL; |
+ return nullptr; |
+} |
+#endif |
+ |
+#if !defined(OS_WIN) |
+// This is the default implementation for platforms where native views |
+// accessibility is unsupported or unfinished. |
+// |
+// static |
+AXPlatformNode* AXPlatformNode::FromNativeViewAccessible( |
+ gfx::NativeViewAccessible accessible) { |
+ return nullptr; |
} |
#endif |