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 d2285ac8f6bc584732cbabbeb72f05fdce6c60d1..871d49e2d85cb1a62cf66d366e87e7ff245561cc 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -2822,7 +2822,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. |