Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm

Issue 12279017: Revert 140571 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm ('k') | Source/WebCore/platform/ScrollView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698