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

Unified Diff: third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc

Issue 2365083002: Make NGFragment to own NGPhysicalFragment (Closed)
Patch Set: Created 4 years, 3 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/ng/layout_ng_block_flow.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
index f265f8008c875302bf8e8d53dbd393e3ee247552..b08e81cc7ba3e6e44fd35dd784513b7bc8e1ebf9 100644
--- a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
+++ b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
@@ -23,8 +23,7 @@ void LayoutNGBlockFlow::layoutBlock(bool relayoutChildren) {
const auto* constraint_space =
NGConstraintSpace::CreateFromLayoutObject(*this);
NGBox* box = new NGBox(this);
- NGFragment* fragment;
- while (!box->Layout(constraint_space, &fragment))
+ while (!box->Layout(constraint_space))
;
clearNeedsLayout();
}

Powered by Google App Engine
This is Rietveld 408576698