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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_inline_node_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_inline_node_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
index 9ff53814d10f4dfdd533bbe277f382dfec78ebad..d7b15e17f222504a586a8584ee20d685fedcddb7 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
@@ -66,7 +66,8 @@ class NGInlineNodeTest : public ::testing::Test {
void CreateLine(NGInlineNode* node,
Vector<RefPtr<const NGPhysicalTextFragment>>* fragments_out) {
NGConstraintSpace* constraint_space =
- NGConstraintSpaceBuilder(kHorizontalTopBottom).ToConstraintSpace();
+ NGConstraintSpaceBuilder(kHorizontalTopBottom)
+ .ToConstraintSpace(kHorizontalTopBottom);
NGLineBuilder line_builder(node, constraint_space);
NGTextLayoutAlgorithm algorithm(node, constraint_space);

Powered by Google App Engine
This is Rietveld 408576698