diff --git a/Source/WebCore/accessibility/playstation/AXObjectCachePlayStation.cpp b/Source/WebCore/accessibility/playstation/AXObjectCachePlayStation.cpp index e954ce8c976d..abc82f930ee2 100644 --- a/Source/WebCore/accessibility/playstation/AXObjectCachePlayStation.cpp +++ b/Source/WebCore/accessibility/playstation/AXObjectCachePlayStation.cpp @@ -88,7 +88,7 @@ void AXObjectCache::postPlatformNotification(AccessibilityObject& object, AXNoti RefPtr protectedObject = &object; switch (notification) { case AXNotification::AXSelectedChildrenChanged: - protectedObject = notifyChildrenSelectionChange(protectedObject.get()); + protectedObject = dynamicDowncast(notifyChildrenSelectionChange(protectedObject.get())); break; case AXNotification::AXPressDidSucceed: notification = checkInteractableObjects(protectedObject.get());