Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1181)

Unified Diff: Source/core/rendering/RenderBox.cpp

Issue 927773002: Keep track of multiple layout roots (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address concerns. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderBox.cpp
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
index 6c9bea47aefbb07abb77a327f43dc7f6f854c42d..7c06086ce5dcb20f24a452883e4156d5bb4ca0dd 100644
--- a/Source/core/rendering/RenderBox.cpp
+++ b/Source/core/rendering/RenderBox.cpp
@@ -1948,7 +1948,7 @@ void RenderBox::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

Powered by Google App Engine
This is Rietveld 408576698