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 de0e10456c0ae9f221c3e5f70f33d20dd0518636..610c71db8eb58a8a2184e3b2a539cc020bf2c106 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 |
@@ -20,8 +20,8 @@ TEST(NGConstraintSpaceTest, WritingMode) { |
horz_space->SetFixedSize(true, false); |
horz_space->SetFragmentationType(FragmentColumn); |
- NGConstraintSpace* vert_space = |
- new NGConstraintSpace(VerticalRightLeft, LeftToRight, horz_space); |
+ NGConstraintSpace* vert_space = new NGConstraintSpace( |
+ VerticalRightLeft, LeftToRight, horz_space->MutablePhysicalSpace()); |
EXPECT_EQ(LayoutUnit(200), horz_space->ContainerSize().inline_size); |
EXPECT_EQ(LayoutUnit(200), vert_space->ContainerSize().block_size); |