| 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 59481168c6b51d0c2b527e6ed4771f5c0aa0e833..83ddbac407f026c4962601903fd6f71345caae1d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -178,7 +178,9 @@ LayoutObject* LayoutObject::createObject(Element* element,
|
|
|
| switch (style.display()) {
|
| case EDisplay::None:
|
| + return nullptr;
|
| case EDisplay::Contents:
|
| + DCHECK(!element->isSVGElement());
|
| return nullptr;
|
| case EDisplay::Inline:
|
| return new LayoutInline(element);
|
|
|