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 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(); |
|
cbiesinger
2017/06/15 17:37:57
Do we need this or can it be return true;?
ikilpatrick
2017/06/15 18:05:33
It can be true at the moment, but want to leave th
|
| } |