Chromium Code Reviews| 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 af0c901f543b1fc38621638228709ac0ae77d1d7..d1520dfe3945f59a03bd0dfc8f2116cae5eea233 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 |
| @@ -199,8 +199,7 @@ DEFINE_TRACE(NGBlockNode) { |
| bool NGBlockNode::CanUseNewLayout() { |
| if (!layout_box_->isLayoutBlockFlow()) |
| return false; |
| - return RuntimeEnabledFeatures::layoutNGInlineEnabled() || |
| - !HasInlineChildren(); |
| + return RuntimeEnabledFeatures::layoutNGEnabled() || !HasInlineChildren(); |
|
cbiesinger1
2017/03/21 23:07:11
You can now always return true here. This code is
|
| } |
| bool NGBlockNode::HasInlineChildren() { |