Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp |
index b23eb2c875b98e8f99711bf0c056c0ffbdf8cce1..29ac1b277ef9ef288c6670ef47d5efac96032226 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp |
@@ -316,7 +316,7 @@ void LayoutInline::addChildIgnoringContinuation(LayoutObject* newChild, LayoutOb |
// inline into continuations. This involves creating an anonymous block box to hold |
// |newChild|. We then make that block box a continuation of this inline. We take all of |
// the children after |beforeChild| and put them in a clone of this object. |
- RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisplay(containingBlock()->styleRef(), BLOCK); |
+ RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisplay(containingBlock()->styleRef(), EDisplay::Block); |
// If inside an inline affected by in-flow positioning the block needs to be affected by it too. |
// Giving the block a layer like this allows it to collect the x/y offsets from inline parents later. |