Remove unused painting code which was related to sliderThumb and listButton.
<rdar://problem/104379912>
Pull request: https://github.com/WebKit/WebKit/pull/8766
Committed 259046@main (53d7f45031a8): <https://commits.webkit.org/259046@main> Reviewed commits have been landed. Closing PR #8766 and removing active labels.