To avoid duplicate work during downcasting, we should separate where we perform the dynamic downcast and where we dereference the pointer.
<rdar://problem/123289610>
Created attachment 469986 [details] Patch
Comment on attachment 469986 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=469986&action=review > Source/WebCore/accessibility/ios/AccessibilityObjectIOS.mm:144 > + auto nodeText = dynamicDowncast<Text>(previousCompositionNode); Auto*
Created attachment 469987 [details] Patch
Committed 275051@main (2f2435a780c4): <https://commits.webkit.org/275051@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 469987 [details].