| Index: third_party/WebKit/Source/core/layout/ng/ng_constraint_space_test.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_test.cc
|
| index 2314134dfa10e89dc0a9d6706e004a628888c081..a43f46e402149359aa6448e1b123b0f950564d80 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_test.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_test.cc
|
| @@ -57,8 +57,7 @@ TEST(NGConstraintSpaceTest, LayoutOpportunitiesNoExclusions) {
|
| auto* space =
|
| new NGConstraintSpace(HorizontalTopBottom, LeftToRight, physical_space);
|
|
|
| - bool for_inline_or_bfc = true;
|
| - auto* iterator = space->LayoutOpportunities(NGClearNone, for_inline_or_bfc);
|
| + auto* iterator = space->LayoutOpportunities();
|
|
|
| EXPECT_EQ("0,0 600x400", OpportunityToString(iterator->Next()));
|
| EXPECT_EQ("(empty)", OpportunityToString(iterator->Next()));
|
| @@ -76,8 +75,7 @@ TEST(NGConstraintSpaceTest, LayoutOpportunitiesTopRightExclusion) {
|
|
|
| auto* space =
|
| new NGConstraintSpace(HorizontalTopBottom, LeftToRight, physical_space);
|
| - bool for_inline_or_bfc = true;
|
| - auto* iterator = space->LayoutOpportunities(NGClearNone, for_inline_or_bfc);
|
| + auto* iterator = space->LayoutOpportunities();
|
|
|
| // First opportunity should be to the left of the exclusion.
|
| EXPECT_EQ("0,0 500x400", OpportunityToString(iterator->Next()));
|
| @@ -101,8 +99,7 @@ TEST(NGConstraintSpaceTest, LayoutOpportunitiesTopLeftExclusion) {
|
|
|
| auto* space =
|
| new NGConstraintSpace(HorizontalTopBottom, LeftToRight, physical_space);
|
| - bool for_inline_or_bfc = true;
|
| - auto* iterator = space->LayoutOpportunities(NGClearNone, for_inline_or_bfc);
|
| + auto* iterator = space->LayoutOpportunities();
|
|
|
| // First opportunity should be to the right of the exclusion.
|
| EXPECT_EQ("100,0 500x400", OpportunityToString(iterator->Next()));
|
| @@ -151,8 +148,7 @@ TEST(NGConstraintSpaceTest, LayoutOpportunitiesTwoInMiddle) {
|
|
|
| auto* space =
|
| new NGConstraintSpace(HorizontalTopBottom, LeftToRight, physical_space);
|
| - bool for_inline_or_bfc = true;
|
| - auto* iterator = space->LayoutOpportunities(NGClearNone, for_inline_or_bfc);
|
| + auto* iterator = space->LayoutOpportunities();
|
|
|
| // 1st Start point
|
| EXPECT_EQ("0,0 600x200", OpportunityToString(iterator->Next()));
|
| @@ -199,8 +195,7 @@ TEST(NGConstraintSpaceTest, LayoutOpportunitiesWithOutOfBoundsExclusions) {
|
| auto* space =
|
| new NGConstraintSpace(HorizontalTopBottom, LeftToRight, physical_space);
|
|
|
| - bool for_inline_or_bfc = true;
|
| - auto* iterator = space->LayoutOpportunities(NGClearNone, for_inline_or_bfc);
|
| + auto* iterator = space->LayoutOpportunities();
|
|
|
| EXPECT_EQ("0,0 600x100", OpportunityToString(iterator->Next()));
|
| EXPECT_EQ("(empty)", OpportunityToString(iterator->Next()));
|
|
|