| Index: third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
|
| index 088d892106717c0c9b99d662aaa6d44649ad1406..f3aeb4d96075ebd4fe77994b60f81c5b5c7c178c 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
|
| @@ -238,6 +238,12 @@ DEFINE_TRACE(NGBlockNode) {
|
| }
|
|
|
| bool NGBlockNode::CanUseNewLayout() {
|
| + // [Multicol]: for the 1st phase of LayoutNG's multicol implementation we want
|
| + // to utilize the existing ColumnBalancer class. That's why a multicol block
|
| + // should be processed by Legacy Layout engine.
|
| + if (Style().specifiesColumns())
|
| + return false;
|
| +
|
| if (!layout_box_->isLayoutBlockFlow())
|
| return false;
|
| return RuntimeEnabledFeatures::layoutNGEnabled() || !HasInlineChildren();
|
|
|