Index: Source/core/rendering/compositing/GraphicsLayerUpdater.cpp |
diff --git a/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp b/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp |
index 0c7daf3e11dec91f3dd50023db669fca18c25da5..ab9428cef19276e0aea05f6ae3f3c0567bc39e7f 100644 |
--- a/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp |
+++ b/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp |
@@ -62,7 +62,7 @@ GraphicsLayerUpdater::~GraphicsLayerUpdater() |
{ |
} |
-void GraphicsLayerUpdater::update(RenderLayer& layer, UpdateType updateType, const UpdateContext& context) |
+void GraphicsLayerUpdater::update(Vector<RenderLayer*>& layersNeedingPaintInvalidation, RenderLayer& layer, UpdateType updateType, const UpdateContext& context) |
{ |
if (layer.hasCompositedLayerMapping()) { |
CompositedLayerMappingPtr mapping = layer.compositedLayerMapping(); |
@@ -84,7 +84,7 @@ void GraphicsLayerUpdater::update(RenderLayer& layer, UpdateType updateType, con |
if (mapping->updateGraphicsLayerConfiguration(updateType)) |
m_needsRebuildTree = true; |
- mapping->updateGraphicsLayerGeometry(updateType, compositingContainer); |
+ mapping->updateGraphicsLayerGeometry(updateType, compositingContainer, layersNeedingPaintInvalidation); |
updateType = mapping->updateTypeForChildren(updateType); |
mapping->clearNeedsGraphicsLayerUpdate(); |
@@ -98,7 +98,7 @@ void GraphicsLayerUpdater::update(RenderLayer& layer, UpdateType updateType, con |
UpdateContext childContext(context, layer); |
for (RenderLayer* child = layer.firstChild(); child; child = child->nextSibling()) |
- update(*child, updateType, childContext); |
+ update(layersNeedingPaintInvalidation, *child, updateType, childContext); |
} |
#if ASSERT_ENABLED |