Index: Source/core/layout/LayoutBox.cpp |
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp |
index 25e6e319f7c3166d3cbbd772ce281967188a43bd..f0d7bdea4f0399eb3d23e5fafb1b61e9f1cb3b04 100644 |
--- a/Source/core/layout/LayoutBox.cpp |
+++ b/Source/core/layout/LayoutBox.cpp |
@@ -1950,7 +1950,7 @@ void LayoutBox::computeLogicalWidth(LogicalExtentComputedValues& computedValues) |
} |
// If layout is limited to a subtree, the subtree root's logical width does not change. |
- if (node() && view()->frameView() && view()->frameView()->layoutRoot(true) == this) |
+ if (node() && view()->frameView() && view()->frameView()->isLayoutRoot(*this)) |
return; |
// The parent box is flexing us, so it has increased or decreased our |