Index: Source/core/rendering/RenderLayer.cpp |
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
index 933e0ea3c32a8229422ed41898fac51bbcb7278e..7b4de596ab34e8f6b7efb7a2c72440c6fb319607 100644 |
--- a/Source/core/rendering/RenderLayer.cpp |
+++ b/Source/core/rendering/RenderLayer.cpp |
@@ -1830,18 +1830,12 @@ void RenderLayer::paintLayerContents(GraphicsContext* context, const LayerPainti |
LayerPaintingInfo localPaintingInfo(paintingInfo); |
FilterEffectRendererHelper filterPainter(filterRenderer() && paintsWithFilters()); |
if (filterPainter.haveFilterEffect()) { |
- RenderLayerFilterInfo* filterInfo = this->filterInfo(); |
- ASSERT(filterInfo); |
- LayoutRect filterRepaintRect = filterInfo->dirtySourceRect(); |
- filterRepaintRect.move(offsetFromRoot.x(), offsetFromRoot.y()); |
+ ASSERT(this->filterInfo()); |
if (!rootRelativeBoundsComputed) |
rootRelativeBounds = physicalBoundingBoxIncludingReflectionAndStackingChildren(paintingInfo.rootLayer, offsetFromRoot); |
- if (filterPainter.prepareFilterEffect(this, rootRelativeBounds, paintingInfo.paintDirtyRect, filterRepaintRect)) { |
- // Now we know for sure, that the source image will be updated, so we can revert our tracking repaint rect back to zero. |
- filterInfo->resetDirtySourceRect(); |
- |
+ if (filterPainter.prepareFilterEffect(this, rootRelativeBounds, paintingInfo.paintDirtyRect)) { |
// Rewire the old context to a memory buffer, so that we can capture the contents of the layer. |
// NOTE: We saved the old context in the "transparencyLayerContext" local variable, to be able to start a transparency layer |
// on the original context and avoid duplicating "beginFilterEffect" after each transparency layer call. Also, note that |