Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
index af28b1f5c0df33c5d3c03120be9ae4823c408484..02acdf83b4ad1f058f8df66434a0cd8dd5dce209 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
@@ -372,7 +372,6 @@ void PaintLayerScrollableArea::updateScrollOffset(const ScrollOffset& newOffset, |
return; |
showOverlayScrollbars(); |
- ScrollOffset scrollDelta = getScrollOffset() - newOffset; |
m_scrollOffset = newOffset; |
LocalFrame* frame = box().frame(); |
@@ -393,7 +392,7 @@ void PaintLayerScrollableArea::updateScrollOffset(const ScrollOffset& newOffset, |
if (!frameView->isInPerformLayout()) { |
// If we're in the middle of layout, we'll just update layers once layout |
// has finished. |
- layer()->updateLayerPositionsAfterOverflowScroll(scrollDelta); |
+ layer()->updateLayerPositionsAfterOverflowScroll(); |
// Update regions, scrolling may change the clip of a particular region. |
frameView->updateDocumentAnnotatedRegions(); |
frameView->setNeedsUpdateWidgetGeometries(); |