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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.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_absolute_utils_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc
index d74585bc488d636a28662d663736b216212afebc..96328799280a57689cf0d6b2562c181e06dc4449 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc
@@ -107,8 +107,8 @@ TEST_F(NGAbsoluteUtilsTest, Horizontal) {
LayoutUnit width =
container_size_.inline_size - left - margin_left - right - margin_right;
- Optional<MinAndMaxContentSizes> estimated_inline;
- MinAndMaxContentSizes minmax_60{LayoutUnit(60), LayoutUnit(60)};
+ Optional<MinMaxContentSize> estimated_inline;
+ MinMaxContentSize minmax_60{LayoutUnit(60), LayoutUnit(60)};
style_->setBorderLeftWidth(border_left.toInt());
style_->setBorderRightWidth(border_right.toInt());
@@ -430,7 +430,7 @@ TEST_F(NGAbsoluteUtilsTest, MinMax) {
NGStaticPosition static_position{NGStaticPosition::kTopLeft,
{LayoutUnit(), LayoutUnit()}};
- MinAndMaxContentSizes estimated_inline{LayoutUnit(20), LayoutUnit(20)};
+ MinMaxContentSize estimated_inline{LayoutUnit(20), LayoutUnit(20)};
NGAbsolutePhysicalPosition p;
// WIDTH TESTS

Powered by Google App Engine
This is Rietveld 408576698