Index: Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp |
diff --git a/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp b/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp |
index 2074a5205b206d24215a6153c87442697373c3e0..53970ae6c9f5b7c4a5d9c61c6db483e799e917bb 100644 |
--- a/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp |
+++ b/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp |
@@ -581,7 +581,7 @@ void GraphicsLayerChromium::notifyAnimationFinished(double) |
void GraphicsLayerChromium::didScroll() |
{ |
if (m_scrollableArea) |
- m_scrollableArea->scrollToOffsetWithoutAnimation(IntPoint(m_layer->layer()->scrollPosition())); |
+ m_scrollableArea->scrollToOffsetWithoutAnimation(m_scrollableArea->minimumScrollPosition() + toIntSize(m_layer->layer()->scrollPosition())); |
} |
void GraphicsLayerChromium::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |