Factor EventHandler code that sends mouseEnteredContentArea/mouseExitedContentArea into its own function
Created attachment 398588 [details] Patch
Created attachment 398593 [details] Patch
Comment on attachment 398593 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=398593&action=review > Source/WebCore/page/EventHandler.cpp:2627 > + if (elementUnderMouse) { > + frameView->mouseEnteredContentArea(); > + if (scrollableAreaForNodeUnderMouse) > + scrollableAreaForNodeUnderMouse->mouseEnteredContentArea(); > + } else { > + if (scrollableAreaForLastNode) > + scrollableAreaForLastNode->mouseExitedContentArea(); > + frameView->mouseExitedContentArea(); > + } > + return; You could early return instead of the else branch.
Committed r261229: <https://trac.webkit.org/changeset/261229> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398593 [details].
<rdar://problem/62931618>