| Index: third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
|
| index 85d2fe9f999dd0361d568190207eb9824e284c0c..125baf34a943015254cdcc2e589d74df82f75bf1 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
|
| @@ -59,7 +59,7 @@ NGOutOfFlowLayoutPart::NGOutOfFlowLayoutPart(
|
| space_builder.SetPercentageResolutionSize(space_size);
|
| space_builder.SetIsNewFormattingContext(true);
|
| space_builder.SetTextDirection(container_style_.direction());
|
| - container_space_ = space_builder.ToConstraintSpace();
|
| + container_space_ = space_builder.ToConstraintSpace(writing_mode);
|
| }
|
|
|
| void NGOutOfFlowLayoutPart::Run() {
|
| @@ -178,7 +178,8 @@ RefPtr<NGPhysicalFragment> NGOutOfFlowLayoutPart::GenerateFragment(
|
| builder.SetIsFixedSizeBlock(true);
|
| builder.SetIsFixedSizeInline(true);
|
| builder.SetIsNewFormattingContext(true);
|
| - NGConstraintSpace* space = builder.ToConstraintSpace();
|
| + NGConstraintSpace* space =
|
| + builder.ToConstraintSpace(container_space_->WritingMode());
|
|
|
| return descendant.Layout(space);
|
| }
|
|
|