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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_length_utils.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_length_utils.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
index e298674e64c5f1ff2b92d872e7e41d1257b2abfb..525d91815e4e45ee5f4fe69ea6fa507e49ede062 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
@@ -192,7 +192,7 @@ MinAndMaxContentSizes ComputeMinAndMaxContentContribution(
NGConstraintSpaceBuilder builder(writing_mode);
builder.SetInitialContainingBlockSize(
NGPhysicalSize{LayoutUnit(), LayoutUnit()});
- NGConstraintSpace* space = builder.ToConstraintSpace();
+ NGConstraintSpace* space = builder.ToConstraintSpace(writing_mode);
MinAndMaxContentSizes computed_sizes;
Length inline_size = style.logicalWidth();

Powered by Google App Engine
This is Rietveld 408576698