Skip to content

Commit

Permalink
Fix PlayStation build following 278653@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=274065

Unreviewed build fix.

* Source/WebCore/accessibility/playstation/AXObjectCachePlayStation.cpp:
(WebCore::AXObjectCache::postPlatformNotification):
Explicitly cast AXCoreObject to AccessibilityObject.

Canonical link: https://commits.webkit.org/278669@main
  • Loading branch information
rkirsling committed May 13, 2024
1 parent e7ae0d2 commit 7ebaed3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void AXObjectCache::postPlatformNotification(AccessibilityObject& object, AXNoti
RefPtr protectedObject = &object;
switch (notification) {
case AXNotification::AXSelectedChildrenChanged:
protectedObject = notifyChildrenSelectionChange(protectedObject.get());
protectedObject = dynamicDowncast<AccessibilityObject>(notifyChildrenSelectionChange(protectedObject.get()));
break;
case AXNotification::AXPressDidSucceed:
notification = checkInteractableObjects(protectedObject.get());
Expand Down

0 comments on commit 7ebaed3

Please sign in to comment.