AX: AccessibilityObject::parentObject() doesn't need to be pure virtual
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2019 19:28:54 +0000 (19:28 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2019 19:28:54 +0000 (19:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=197026
<rdar://problem/49448209>

Reviewed by Timothy Hatcher.

* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::parentObject const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244394 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityObject.h

index ce6a674..883bb7b 100644 (file)
@@ -1,3 +1,14 @@
+2019-04-17  Devin Rousso  <drousso@apple.com>
+
+        AX: AccessibilityObject::parentObject() doesn't need to be pure virtual
+        https://bugs.webkit.org/show_bug.cgi?id=197026
+        <rdar://problem/49448209>
+
+        Reviewed by Timothy Hatcher.
+
+        * accessibility/AccessibilityObject.h:
+        (WebCore::AccessibilityObject::parentObject const):
+
 2019-04-17  Zalan Bujtas  <zalan@apple.com>
 
         [ContentChangeObserver] Use aria role as a hint whether a tap should result in a synthetic click
index b749368..1856767 100644 (file)
@@ -597,7 +597,7 @@ public:
     virtual AccessibilityObject* nextSibling() const { return nullptr; }
     virtual AccessibilityObject* nextSiblingUnignored(int limit) const;
     virtual AccessibilityObject* previousSiblingUnignored(int limit) const;
-    virtual AccessibilityObject* parentObject() const = 0;
+    virtual AccessibilityObject* parentObject() const { return nullptr; }
     virtual AccessibilityObject* parentObjectUnignored() const;
     AccessibilityObjectInterface* parentObjectInterfaceUnignored() const override { return parentObjectUnignored(); }
     virtual AccessibilityObject* parentObjectIfExists() const { return nullptr; }