diff options
author | Nicolas Roard <nicolasroard@google.com> | 2011-10-05 16:14:36 -0700 |
---|---|---|
committer | Nicolas Roard <nicolasroard@google.com> | 2011-10-05 16:14:36 -0700 |
commit | 4a7bb352bfa0e515586d929c9528bc6e3a4ca0da (patch) | |
tree | 0a41635877e81c22dd7348c8f63485b143c56c3a /Source/WebCore/platform | |
parent | 4357667d698f572b676929bfcb26b7cbff80a212 (diff) | |
download | external_webkit-4a7bb352bfa0e515586d929c9528bc6e3a4ca0da.zip external_webkit-4a7bb352bfa0e515586d929c9528bc6e3a4ca0da.tar.gz external_webkit-4a7bb352bfa0e515586d929c9528bc6e3a4ca0da.tar.bz2 |
Fix repaint issues with overflow layers
bug:5297412
Change-Id: I6b483e174339bc854e5d301c5c1f2e5851e57772
Diffstat (limited to 'Source/WebCore/platform')
-rw-r--r-- | Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp index 7722e5a..09a4bc6 100644 --- a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp @@ -325,6 +325,7 @@ void GraphicsLayerAndroid::setSize(const FloatSize& size) } m_contentLayer->setSize(size.width(), size.height()); + setNeedsDisplay(); askForSync(); } @@ -598,6 +599,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->markAsDirty(m_dirtyRegion); m_foregroundLayer->needsRepaint(); } else { // If there is no contents clip, we can draw everything into one |