| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| index dc258c4535c16784f04f72d00c3e8870d243d211..c5cc0e463a87a5d47d39fb45ad840d86e5d05970 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -553,7 +553,7 @@ bool LayoutBlock::createsNewFormattingContext() const {
|
| isTableCaption() || isFieldset() || isWritingModeRoot() ||
|
| isDocumentElement() || isColumnSpanAll() || isGridItem() ||
|
| style()->containsPaint() || style()->containsLayout() ||
|
| - isSVGForeignObject() || style()->display() == EDisplay::FlowRoot;
|
| + isSVGForeignObject() || style()->display() == EDisplay::kFlowRoot;
|
| }
|
|
|
| static inline bool changeInAvailableLogicalHeightAffectsChild(
|
| @@ -2013,12 +2013,12 @@ LayoutBlock* LayoutBlock::createAnonymousWithParentAndDisplay(
|
| // anonymous logic ?
|
| EDisplay newDisplay;
|
| LayoutBlock* newBox = nullptr;
|
| - if (display == EDisplay::Flex || display == EDisplay::InlineFlex) {
|
| + if (display == EDisplay::kFlex || display == EDisplay::kInlineFlex) {
|
| newBox = LayoutFlexibleBox::createAnonymous(&parent->document());
|
| - newDisplay = EDisplay::Flex;
|
| + newDisplay = EDisplay::kFlex;
|
| } else {
|
| newBox = LayoutBlockFlow::createAnonymous(&parent->document());
|
| - newDisplay = EDisplay::Block;
|
| + newDisplay = EDisplay::kBlock;
|
| }
|
|
|
| RefPtr<ComputedStyle> newStyle =
|
|
|