Index: Source/WebCore/rendering/RenderLayerCompositor.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderLayerCompositor.cpp (revision 98521) |
+++ Source/WebCore/rendering/RenderLayerCompositor.cpp (working copy) |
@@ -244,7 +244,7 @@ |
bool RenderLayerCompositor::hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const |
{ |
- return m_compositedLayerCount > rootLayer->isComposited(); |
+ return m_compositedLayerCount > (rootLayer->isComposited() ? 1 : 0); |
} |
void RenderLayerCompositor::updateCompositingLayers(CompositingUpdateType updateType, RenderLayer* updateRoot) |