On all UIKit-having platforms that WebKit suports building for, UIScrollView has the SPI -_flashScrollIndicatorsForAxes:persistingPreviousFlashes:. The HAVE_UI_SCROLL_VIEW_INDICATOR_FLASHING_SPI platform conditional is therefore no longer necessary, and its current NO value for Mac Catalyst actually makes us send a message (_flashScrollIndicatorsPersistingPreviousFlashes:) that UIScrollView no longer responds to.
<rdar://problem/63048713>
Created attachment 398920 [details] Patch
Comment on attachment 398920 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=398920&action=review > Source/WebKit/ChangeLog:12 > + Remove this platform conditional and unconditionally use -[UIScrolView _flashScrollIndicatorsForAxes: > + persistingPreviousFlashes:]. All supported platforms with UIScrollView have this SPI, and the conditional > + was excluding Mac Catalyst, making WKKeyboardScrollViewAnimator send a message to its scroll view that > + is no longer implemented. Seems like the headline here is fixing the bug on Mac Catalyst; a crash maybe? Removing the HAVE macro is the less important half of this, as grateful as I am to have that cleaned up too.
Committed r261436: <https://trac.webkit.org/changeset/261436> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398920 [details].