Index: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp |
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp |
index 42d8e24513932932a9e0caf7eeb9b7c53c743a6b..51b10e24748ddddfb51758cb39ff925bfb6013e2 100644 |
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp |
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp |
@@ -487,9 +487,9 @@ bool ScrollingCoordinator::scrollableAreaScrollLayerDidChange( |
WebLayer* containerLayer = toWebLayer(scrollableArea->layerForContainer()); |
if (webLayer) { |
webLayer->setScrollClipLayer(containerLayer); |
- DoublePoint scrollPosition(FloatPoint(scrollableArea->scrollOrigin()) + |
- scrollableArea->getScrollOffset()); |
- webLayer->setScrollPositionDouble(scrollPosition); |
+ FloatPoint scrollPosition(scrollableArea->scrollOrigin() + |
+ scrollableArea->getScrollOffset()); |
+ webLayer->setScrollPosition(scrollPosition); |
webLayer->setBounds(scrollableArea->contentsSize()); |
bool canScrollX = scrollableArea->userInputScrollable(HorizontalScrollbar); |