Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index 9fb28a5b6d43768a0d61ef36a11edd9d4d12b810..1e6adbe7cc4bef7b62b26d957703b385884c9e42 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -4690,11 +4690,7 @@ RenderBlock* RenderBlock::createAnonymousWithParentRendererAndDisplay(const Rend |
// FIXME: Do we need to convert all our inline displays to block-type in the anonymous logic ? |
EDisplay newDisplay; |
RenderBlock* newBox = 0; |
- if (display == BOX || display == INLINE_BOX) { |
- // FIXME: Remove this case once we have eliminated all internal users of old flexbox |
- newBox = RenderDeprecatedFlexibleBox::createAnonymous(&parent->document()); |
- newDisplay = BOX; |
- } else if (display == FLEX || display == INLINE_FLEX) { |
+ if (display == FLEX || display == INLINE_FLEX) { |
newBox = RenderFlexibleBox::createAnonymous(&parent->document()); |
newDisplay = FLEX; |
} else { |