Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
index f10d6e6ef7f57aad352b8bb081b63d5c605d2fde..de99f9d338a299b25dad30711c4eee186a38f95a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -1736,9 +1736,6 @@ LayoutBlock* LayoutBlock::createAnonymousWithParentAndDisplay(const LayoutObject |
if (display == FLEX || display == INLINE_FLEX) { |
newBox = LayoutFlexibleBox::createAnonymous(&parent->document()); |
newDisplay = FLEX; |
- } else if (display == GRID || display == INLINE_GRID) { |
- newBox = LayoutGrid::createAnonymous(&parent->document()); |
- newDisplay = GRID; |
} else { |
newBox = LayoutBlockFlow::createAnonymous(&parent->document()); |
newDisplay = BLOCK; |