summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-03-23 15:47:27 -0700
committerNicolas Roard <nicolasroard@google.com>2011-03-23 15:49:58 -0700
commit0cdc129636d794dec2649b50a470e03f727258f9 (patch)
tree4d6a59ee39c541a699661cafc0ea9e95d92e61d9 /WebCore
parent5bdfd148249f6196a184550910f1cd8cb138fe8c (diff)
downloadexternal_webkit-0cdc129636d794dec2649b50a470e03f727258f9.zip
external_webkit-0cdc129636d794dec2649b50a470e03f727258f9.tar.gz
external_webkit-0cdc129636d794dec2649b50a470e03f727258f9.tar.bz2
Fix the repainting problems with overflow-scroll div elements
bug:4163243 bug:4163233 bug:4159272 bug:4159270 bug:3442104 bug:4163237 Change-Id: Iab71d1da3f0ca6c52b23ddfb8b86c58b118b60e0
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
index 72aefa4..96cfd3d 100644
--- a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
+++ b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
@@ -595,6 +595,7 @@ bool GraphicsLayerAndroid::repaint()
m_foregroundLayer->setPosition(-x, -y);
// Set the scrollable bounds of the layer.
m_foregroundLayer->setScrollLimits(-x, -y, m_size.width(), m_size.height());
+ m_foregroundLayer->needsRepaint();
} else {
// If there is no contents clip, we can draw everything into one
// picture.