diff options
Diffstat (limited to 'Source/WebCore')
-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 |