Index: Source/core/rendering/svg/RenderSVGForeignObject.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGForeignObject.cpp b/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
index a5c026faf5f984efe84dac2a21d9f02f6128c14f..81f0a162b6d96ebbd092654395097d5315669a52 100644 |
--- a/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
+++ b/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
@@ -115,7 +115,6 @@ |
void RenderSVGForeignObject::layout() |
{ |
ASSERT(needsLayout()); |
- ASSERT(!view()->layoutStateCachedOffsetsEnabled()); // RenderSVGRoot disables layoutState for the SVG rendering tree. |
SVGForeignObjectElement* foreign = toSVGForeignObjectElement(node()); |
@@ -156,10 +155,10 @@ |
} |
void RenderSVGForeignObject::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, |
- LayoutRect& rect, bool fixed) const |
+ LayoutRect& rect, bool fixed, const PaintInvalidationState* paintInvalidationState) const |
{ |
FloatRect r(rect); |
- SVGRenderSupport::computeFloatRectForRepaint(this, paintInvalidationContainer, r, fixed); |
+ SVGRenderSupport::computeFloatRectForRepaint(this, paintInvalidationContainer, r, fixed, paintInvalidationState); |
rect = enclosingLayoutRect(r); |
} |