| Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
| index 548653cc53791769e06c5724175ec75e0f7b55e5..a7b476f4d0a6aefdc1590f2e55431bb444b59835 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
| @@ -36,7 +36,7 @@ bool ShouldShrinkToFit(const NGConstraintSpace& parent_space,
|
| bool is_in_parallel_flow =
|
| IsParallelWritingMode(parent_space.WritingMode(), child_writing_mode);
|
|
|
| - return child_style.display() == EDisplay::InlineBlock ||
|
| + return child_style.display() == EDisplay::kInlineBlock ||
|
| child_style.isFloating() || !is_in_parallel_flow;
|
| }
|
|
|
| @@ -285,8 +285,8 @@ bool IsNewFormattingContextForInFlowBlockLevelChild(
|
| return true;
|
|
|
| EDisplay display = style.display();
|
| - if (display == EDisplay::Grid || display == EDisplay::Flex ||
|
| - display == EDisplay::WebkitBox)
|
| + if (display == EDisplay::kGrid || display == EDisplay::kFlex ||
|
| + display == EDisplay::kWebkitBox)
|
| return true;
|
|
|
| if (space.WritingMode() != FromPlatformWritingMode(style.getWritingMode()))
|
|
|