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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_inline_node.h

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_inline_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
index 20f8b40e9f95cfaee11a548a7dd35e67e690380a..1aecc23afe245216f5cf7c5118ad0fb089ce526f 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h
@@ -22,7 +22,7 @@ class ComputedStyle;
class LayoutBlockFlow;
class LayoutObject;
class LayoutUnit;
-struct MinAndMaxContentSizes;
+struct MinMaxContentSize;
class NGConstraintSpace;
class NGLayoutInlineItem;
class NGLayoutInlineItemRange;
@@ -47,7 +47,7 @@ class CORE_EXPORT NGInlineNode : public NGLayoutInputNode {
// Computes the value of min-content and max-content for this anonymous block
// box. min-content is the inline size when lines wrap at every break
// opportunity, and max-content is when lines do not wrap at all.
- MinAndMaxContentSizes ComputeMinAndMaxContentSizes();
+ MinMaxContentSize ComputeMinMaxContentSize();
// Instruct to re-compute |PrepareLayout| on the next layout.
void InvalidatePrepareLayout();

Powered by Google App Engine
This is Rietveld 408576698