notifyRendererOfSelectionChange doesn't notify renderer EVER. The name comes from the era where shadow DOM was a render tree concept. The sole purpose of this function is to update text form controls' selection cache so it should be named so.
Created attachment 222556 [details] Cleanup
Committed r163012: <http://trac.webkit.org/changeset/163012>
Comment on attachment 222556 [details] Cleanup View in context: https://bugs.webkit.org/attachment.cgi?id=222556&action=review > Source/WebCore/ChangeLog:8 > + Renamed notifyRendererOfSelectionChange to updateSelectionCachesIfSelectionIsInsideTextFormControl. I think that the name updateFormControlSelectionCaches would be better. It’s true that there is nothing to update if the selection is not inside a text form control, but I don’t think that needs to be stated in the function name.