| 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 ca3ad7e94a52667b71034dff20a5d625dbc326dd..fdaf1b84359b7581e99062d69ffcbe77c84f47a3 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
|
| @@ -205,9 +205,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.
|
|
|