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 b5c72dc35ccb811d1a96e35ec224c86f12800625..9363ee556af66e78dec2681e0a388c60307e7560 100644 |
--- a/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp |
+++ b/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp |
@@ -125,7 +125,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::setAnimationDelegateForLayer(WebKit::WebLayer* layer) |