Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutGrid.cpp

Issue 2215133005: Add grid/flex layout support for <fieldset> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed more ClusterFuzz tests Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c28234db2533348344725a408ec6f857ea4073c5..b39024b3a4d3124d007657b39a04f090b32df61a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -309,6 +309,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);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGrid.h ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698