The current code that tries to repaint when RenderLayers become, and stop being compositing does not get it right. This needs cleaning up.
Created attachment 29317 [details]
Comment on attachment 29317 [details]
> + if (!repaintContainer)
> + repaintContainer= m_renderView;
Missing space before the =.
> + // Update the compositing state of the given layer. Returns true if that state changed.
> + bool updateLayerCompositingState(RenderLayer*, bool mustRepaint = true);
I would like to channel Darin Adler and suggest that you use an enum instead of a bool.
I did the enum.