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

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

Issue 2721613003: [LayoutNG] Move remaining ng_units structs to their own files (Closed)
Patch Set: Don't export NGBoxStrut for now Created 3 years, 10 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/ng_out_of_flow_layout_part.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
index 4e5ec779cb6b045f835252e2807cf136c78e819c..beaa95dfbf5b16a7acc0be93d133d16203776e08 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
@@ -106,11 +106,11 @@ RefPtr<NGLayoutResult> NGOutOfFlowLayoutPart::LayoutDescendant(
static_position.offset -= container_border_physical_offset_;
RefPtr<NGLayoutResult> layout_result = nullptr;
- Optional<MinAndMaxContentSizes> inline_estimate;
+ Optional<MinMaxContentSize> inline_estimate;
Optional<LayoutUnit> block_estimate;
if (AbsoluteNeedsChildInlineSize(descendant.Style())) {
- inline_estimate = descendant.ComputeMinAndMaxContentSizes();
+ inline_estimate = descendant.ComputeMinMaxContentSize();
}
NGAbsolutePhysicalPosition node_position =

Powered by Google App Engine
This is Rietveld 408576698