Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| index 5722b405e44838391a8e6e32d754ad22c5059cf0..c9b7d587df6ecc621b9c2c52fd3fe15a80a58a74 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| @@ -188,6 +188,7 @@ LayoutObject* LayoutObject::createObject(Element* element, |
| switch (style.display()) { |
| case EDisplay::None: |
| + case EDisplay::Contents: |
| return nullptr; |
| case EDisplay::Inline: |
| return new LayoutInline(element); |