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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.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_block_layout_algorithm_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
index 4e2bf337d2204074f826676ea8677d6e1e853d5a..b86114014de3c17defa5eb747de92de119325add 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
@@ -34,9 +34,8 @@ NGConstraintSpace* ConstructConstraintSpace(NGWritingMode writing_mode,
.SetAvailableSize(size)
.SetPercentageResolutionSize(size)
.SetTextDirection(direction)
- .SetWritingMode(writing_mode)
.SetIsShrinkToFit(shrink_to_fit)
- .ToConstraintSpace();
+ .ToConstraintSpace(writing_mode);
}
typedef bool TestParamLayoutNG;

Powered by Google App Engine
This is Rietveld 408576698