Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
index 56b3a1226d88432625331e2f5579a27ba28d1d32..9b8c09b914beca2c3f26e1cb1bcc8a79fe48cc96 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -266,8 +266,8 @@ void LayoutBoxModelObject::styleDidChange(StyleDifference diff, const ComputedSt |
if (oldStyle && isOutOfFlowPositioned() && parent() && (parent() != containingBlock()) |
&& (styleRef().position() == oldStyle->position()) |
&& (styleRef().originalDisplay() != oldStyle->originalDisplay()) |
- && ((styleRef().originalDisplay() == BLOCK) || (styleRef().originalDisplay() == INLINE_BLOCK)) |
- && ((oldStyle->originalDisplay() == BLOCK) || (oldStyle->originalDisplay() == INLINE_BLOCK))) |
+ && ((styleRef().originalDisplay() == EDisplay::Block) || (styleRef().originalDisplay() == EDisplay::InlineBlock)) |
+ && ((oldStyle->originalDisplay() == EDisplay::Block) || (oldStyle->originalDisplay() == EDisplay::InlineBlock))) |
parent()->setNeedsLayout(LayoutInvalidationReason::ChildChanged, MarkContainerChain); |
PaintLayerType type = layerTypeRequired(); |