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

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

Issue 2954953002: [LayoutNG] Abort a layout once the BFC offset is resolved. (Closed)
Patch Set: rebase. Created 3 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_layout_result.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc
index 35779bcfc3aad13b06af6692c3ec6c2d6e0e9fc1..1bfd897020c234bd15f3203d2be1b2677a6276bf 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc
@@ -11,10 +11,12 @@ NGLayoutResult::NGLayoutResult(
Vector<NGOutOfFlowPositionedDescendant> oof_positioned_descendants,
Vector<RefPtr<NGUnpositionedFloat>>& unpositioned_floats,
const WTF::Optional<NGLogicalOffset> bfc_offset,
- const NGMarginStrut end_margin_strut)
+ const NGMarginStrut end_margin_strut,
+ NGLayoutResultStatus status)
: physical_fragment_(std::move(physical_fragment)),
bfc_offset_(bfc_offset),
- end_margin_strut_(end_margin_strut) {
+ end_margin_strut_(end_margin_strut),
+ status_(status) {
unpositioned_floats_.swap(unpositioned_floats);
oof_positioned_descendants_.swap(oof_positioned_descendants);
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_layout_result.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698