| 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 8af4036ef3099fc23e31ffdf24e380de270ef556..f0f2bcd7966ceead00d42f09030b3b7d0c44b32b 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
|
| @@ -228,8 +228,9 @@ bool NGBlockNode::CanUseNewLayout() const {
|
| if (Style().SpecifiesColumns())
|
| return false;
|
|
|
| - if (!box_->IsLayoutBlockFlow())
|
| + if (!box_->IsLayoutNGBlockFlow())
|
| return false;
|
| +
|
| return RuntimeEnabledFeatures::LayoutNGEnabled();
|
| }
|
|
|
|
|