| 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 bc34b9db1025b2770f6ea5057c156dcd55f505d4..007f086917e65809036a16310d568d55fb5cd574 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -1733,6 +1733,9 @@ 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;
|
|
|