Unreviewed, rolling out r250415.
[WebKit-https.git] / Source / WebCore / page / scrolling / mac / ScrollingTreeOverflowScrollingNodeMac.mm
index 77d9510..5b09793 100644 (file)
@@ -91,7 +91,7 @@ FloatPoint ScrollingTreeOverflowScrollingNodeMac::adjustedScrollPosition(const F
 
 void ScrollingTreeOverflowScrollingNodeMac::repositionScrollingLayers()
 {
-    [static_cast<CALayer*>(scrollContainerLayer()) _web_setLayerBoundsOrigin:currentScrollOffset()];
+    [scrollContainerLayer() _web_setLayerBoundsOrigin:currentScrollOffset()];
 }
 
 void ScrollingTreeOverflowScrollingNodeMac::repositionRelatedLayers()