Index: Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm |
=================================================================== |
--- Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm (revision 143052) |
+++ Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm (working copy) |
@@ -159,13 +159,6 @@ |
else if (scrollPosition().x() > maximumScrollPosition().x()) |
stretch.setWidth(scrollPosition().x() - maximumScrollPosition().x()); |
- if (scrollingTree()->rootNode() == this) { |
- if (stretch.isZero()) |
- scrollingTree()->setMainFrameIsRubberBanding(false); |
- else |
- scrollingTree()->setMainFrameIsRubberBanding(true); |
- } |
- |
return stretch; |
} |
@@ -250,8 +243,6 @@ |
if (!m_snapRubberbandTimer) |
return; |
- scrollingTree()->setMainFrameIsRubberBanding(false); |
- |
CFRunLoopTimerInvalidate(m_snapRubberbandTimer.get()); |
m_snapRubberbandTimer = nullptr; |
} |