In Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceSelection.cpp: The “coreSelection“ returned by “core()” is already null-checked inside “optionFromList()” before calling “listObjectForSelection”, and this is the only call site. While technically there is no issue here, a small refactoring could be done to pass “coreSelection” to it, instead of passing the plain “selection” and needing to call “core(selection)” multiple times.
<rdar://problem/52995908>
Created attachment 374001 [details] Patch
Comment on attachment 374001 [details] Patch Clearing flags on attachment: 374001 Committed r247384: <https://trac.webkit.org/changeset/247384>
All reviewed patches have been landed. Closing bug.