Use less specific cast in ScrollingTree::scrollPositionChangedViaDelegatedScrolling
Created attachment 323525 [details] Patch
This small refactoring is extracted from bug 173833.
Committed r223240: <https://trac.webkit.org/changeset/223240>
<rdar://problem/34958223>