diff options
Diffstat (limited to 'Source/WebCore')
-rw-r--r-- | Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp index 3196895..7d11030 100644 --- a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp @@ -1100,6 +1100,11 @@ void GraphicsLayerAndroid::setContentsToCanvas(PlatformLayer* canvasLayer) m_contentLayer->unref(); m_contentLayer = canvasLayer; + // If the parent exists then notify it to re-sync it's children + if (m_parent) { + GraphicsLayerAndroid* parent = static_cast<GraphicsLayerAndroid*>(m_parent); + parent->m_needsSyncChildren = true; + } m_needsSyncChildren = true; m_is3DCanvas = true; |