Index: Source/core/rendering/svg/RenderSVGForeignObject.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGForeignObject.cpp b/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
index a4f027945dbd5eb472cb4e0e866a716e52fc4de9..9a9459836e1afbf132b7b293c2675a3977edae47 100644 |
--- a/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
+++ b/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
@@ -116,7 +116,7 @@ void RenderSVGForeignObject::computeLogicalHeight(LayoutUnit, LayoutUnit logical |
void RenderSVGForeignObject::layout() |
{ |
ASSERT(needsLayout()); |
- ASSERT(!view()->layoutStateEnabled()); // RenderSVGRoot disables layoutState for the SVG rendering tree. |
+ ASSERT(!view()->layoutStateCachedOffsetsEnabled()); // RenderSVGRoot disables layoutState for the SVG rendering tree. |
LayoutRepainter repainter(*this, SVGRenderSupport::checkForSVGRepaintDuringLayout(this)); |
SVGForeignObjectElement* foreign = toSVGForeignObjectElement(node()); |