commit c829a2004eefb2614307eb08204d66edc55b19ae Author: ChangSeok Oh Date: Tue Sep 3 16:52:42 2013 +0200 [Texmap][GTK] The poster-circle doesn't appear. https://bugs.webkit.org/show_bug.cgi?id=106672 Patch by ChangSeok Oh on 2013-01-21 Reviewed by Noam Rosenthal. Source/WebCore: We need to call setNeedsDisplay to redraw GraphicsLayer after we set drawsContent a new value for the layer. Otherwise we can't get a chance for first drawing the layer. Test: compositing/visibility/visibility-composited-animation.html * platform/graphics/texmap/TextureMapperLayer.cpp: (WebCore::TextureMapperLayer::flushCompositingStateForThisLayerOnly): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140347 268f45cc-cd09-0410-ab3c-d52691b4dbfc Task-number: QTBUG-33081 Change-Id: Idf95bb5341cc4bc3fdf6d585b52c8b949e3ccb67 diff --git a/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp b/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp index d2a10aa..4024333 100644 --- a/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp +++ b/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp @@ -400,6 +400,9 @@ void TextureMapperLayer::flushCompositingStateSelf(GraphicsLayerTextureMapper* g m_size = graphicsLayer->size(); + if ((changeMask & DrawsContentChange) && graphicsLayer->drawsContent()) + graphicsLayer->setNeedsDisplay(); + if (changeMask & MaskLayerChange) { if (TextureMapperLayer* layer = toTextureMapperLayer(graphicsLayer->maskLayer())) layer->m_effectTarget = this;