| Index: third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc
|
| index 429a9d312bec3c0d499511c0bbb870710a839bb9..647d1dbdfe3c5336155bebb2b789edfa294fa372 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc
|
| @@ -209,9 +209,10 @@ bool NGInlineNode::Layout(const NGConstraintSpace* constraint_space,
|
|
|
| // NOTE: We don't need to change the coordinate system here as we are an
|
| // inline.
|
| - NGConstraintSpace* child_constraint_space = new NGConstraintSpace(
|
| - constraint_space->WritingMode(), constraint_space->Direction(),
|
| - constraint_space->MutablePhysicalSpace());
|
| + NGConstraintSpace* child_constraint_space =
|
| + NGConstraintSpaceBuilder(constraint_space->WritingMode())
|
| + .SetTextDirection(constraint_space->Direction())
|
| + .ToConstraintSpace();
|
|
|
| if (!layout_algorithm_)
|
| // TODO(layout-dev): If an atomic inline run the appropriate algorithm.
|
|
|