| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 2f0c98f78df8b94055def04cbc67dc3db7bdd15f..4d86d1d963781fe3946aea8f03a64fa155efc148 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -2817,7 +2817,7 @@ bool LayoutBox::skipContainingBlockForPercentHeightCalculation(const LayoutBox*
|
| // objects, such as table-cells, will be treated just as if they were non-anonymous.
|
| if (containingBlock->isAnonymous()) {
|
| EDisplay display = containingBlock->styleRef().display();
|
| - return display == BLOCK || display == INLINE_BLOCK;
|
| + return display == EDisplay::Block || display == EDisplay::InlineBlock;
|
| }
|
|
|
| // For quirks mode, we skip most auto-height containing blocks when computing percentages.
|
|
|