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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc

Issue 2692643002: Change how NGConstraintSpaceBuilder specified destination space. (Closed)
Patch Set: CR fixes, merge w master Created 3 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: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
index 36f5a94e046587f2d7a9cbdd1fcf13824c78957e..1e653fc86dbfbda45a474d086023d56cbe90ea6c 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc
@@ -100,7 +100,7 @@ NGConstraintSpace* NGConstraintSpace::CreateFromLayoutObject(
box.sizesLogicalWidthToFitContent(box.styleRef().logicalWidth()))
.SetIsNewFormattingContext(is_new_fc)
.SetTextDirection(box.styleRef().direction())
- .ToConstraintSpace();
+ .ToConstraintSpace(writing_mode);
}
void NGConstraintSpace::AddExclusion(const NGExclusion& exclusion) {

Powered by Google App Engine
This is Rietveld 408576698