[chromium] Apply sent deltas on finishCommit
[WebKit-https.git] / Source / WebCore / platform / graphics / chromium / LayerChromium.cpp
index 0d75fdb..e257322 100644 (file)
@@ -293,6 +293,8 @@ void LayerChromium::pushPropertiesTo(CCLayerImpl* layer)
     layer->setSublayerTransform(m_sublayerTransform);
     layer->setTransform(m_transform);
     layer->setUpdateRect(m_updateRect);
+
+    layer->setScrollDelta(layer->scrollDelta() - layer->sentScrollDelta());
     layer->setSentScrollDelta(IntSize());
 
     if (maskLayer())