Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index 4d3dab7f8b2c946973bf55cc2dba9a8ccebf2e10..a8b4a62f1d030b4e88ad3b33a8ec9bca5f046754 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -172,9 +172,6 @@ RenderObject* RenderObject::createObject(Element* element, RenderStyle* style) |
if (RuntimeEnabledFeatures::cssRegionsEnabled() && style->isDisplayRegionType() && style->hasFlowFrom() && doc.renderView()) |
return new RenderRegion(element, 0); |
- if (style->display() == COMPACT) |
- UseCounter::count(doc, UseCounter::CSSDisplayCompact); |
- |
switch (style->display()) { |
case NONE: |
return 0; |
@@ -182,7 +179,6 @@ RenderObject* RenderObject::createObject(Element* element, RenderStyle* style) |
return new RenderInline(element); |
case BLOCK: |
case INLINE_BLOCK: |
- case COMPACT: |
if ((!style->hasAutoColumnCount() || !style->hasAutoColumnWidth()) && doc.regionBasedColumnsEnabled()) |
return new RenderMultiColumnBlock(element); |
return new RenderBlockFlow(element); |