| Index: third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| index c310533d05364a05b7b3dded3c7ce4408e07dc38..3286bc1bfa5c8770b77303c5a08df741636bf7ce 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| @@ -313,6 +313,13 @@ LayoutGrid::~LayoutGrid()
|
| {
|
| }
|
|
|
| +LayoutGrid* LayoutGrid::createAnonymous(Document* document)
|
| +{
|
| + LayoutGrid* layoutGrid = new LayoutGrid(nullptr);
|
| + layoutGrid->setDocumentForAnonymous(document);
|
| + return layoutGrid;
|
| +}
|
| +
|
| void LayoutGrid::addChild(LayoutObject* newChild, LayoutObject* beforeChild)
|
| {
|
| LayoutBlock::addChild(newChild, beforeChild);
|
|
|