Fix for build: follow up to bug 208074.
authorandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Feb 2020 15:48:46 +0000 (15:48 +0000)
committerandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Feb 2020 15:48:46 +0000 (15:48 +0000)
https://bugs.webkit.org/show_bug.cgi?id=208133

Unreviewed build fix.

No new tests needed.

* accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::cellForColumnAndRow):

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

Source/WebCore/ChangeLog
Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp

index 4014ab8..57f1354 100644 (file)
@@ -1,3 +1,15 @@
+2020-02-24  Andres Gonzalez  <andresg_22@apple.com>
+
+        Fix for build: follow up to bug 208074.
+        https://bugs.webkit.org/show_bug.cgi?id=208133
+
+        Unreviewed build fix.
+
+        No new tests needed.
+
+        * accessibility/isolatedtree/AXIsolatedObject.cpp:
+        (WebCore::AXIsolatedObject::cellForColumnAndRow):
+
 2020-02-24  Philippe Normand  <pnormand@igalia.com>
 
         [GStreamer][WPE] Add GstGLMemoryEGL support for the video-plane-display
index 9d5e7e9..fea7933 100644 (file)
@@ -481,12 +481,12 @@ AXCoreObject* AXIsolatedObject::cellForColumnAndRow(unsigned columnIndex, unsign
     AXID cellID = Accessibility::retrieveValueFromMainThread<AXID>([&columnIndex, &rowIndex, this] () -> AXID {
         if (auto* object = associatedAXObject()) {
             if (auto cell = object->cellForColumnAndRow(columnIndex, rowIndex))
-                return cell->ojbectID();
+                return cell->objectID();
         }
         return InvalidAXID;
     });
 
-    return tree()->nodeForID(cellID);
+    return tree()->nodeForID(cellID).get();
 }
 
 void AXIsolatedObject::accessibilityText(Vector<AccessibilityText>& texts) const