Index: Source/core/page/scrolling/ScrollingCoordinator.cpp |
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
index bfb1ae1d44a1dd29fb94b0e039351aa346de4715..3e46289c8d3bb72c81d0d0482e02583064d7b803 100644 |
--- a/Source/core/page/scrolling/ScrollingCoordinator.cpp |
+++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
@@ -358,12 +358,8 @@ bool ScrollingCoordinator::scrollableAreaScrollLayerDidChange(ScrollableArea* sc |
WebLayer* webLayer = scrollingWebLayerForScrollableArea(scrollableArea); |
WebLayer* containerLayer = containerWebLayerForScrollableArea(scrollableArea); |
if (webLayer) { |
- // TODO(wjmaclean) Remove the next line once https://codereview.chromium.org/23983047 lands. |
- webLayer->setScrollable(true); |
webLayer->setScrollClipLayer(containerLayer); |
webLayer->setScrollPosition(IntPoint(scrollableArea->scrollPosition() - scrollableArea->minimumScrollPosition())); |
- // TODO(wjmaclean) Remove the next line once https://codereview.chromium.org/23983047 lands. |
- webLayer->setMaxScrollPosition(IntSize(scrollableArea->scrollSize(HorizontalScrollbar), scrollableArea->scrollSize(VerticalScrollbar))); |
webLayer->setBounds(scrollableArea->contentsSize()); |
bool canScrollX = scrollableArea->userInputScrollable(HorizontalScrollbar); |
bool canScrollY = scrollableArea->userInputScrollable(VerticalScrollbar); |