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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_node_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_block_node_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc
index 656723f22b6f477156d9c01f5b1bfa275a64b93c..2392617bb25b226db32c33d25b5b702851c2f50f 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc
@@ -5,6 +5,7 @@
#include "core/layout/ng/ng_block_node.h"
#include "core/layout/ng/ng_box_fragment.h"
+#include "core/layout/ng/ng_min_max_content_size.h"
#include "core/style/ComputedStyle.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -27,7 +28,7 @@ TEST_F(NGBlockNodeForTest, MinAndMaxContent) {
NGBlockNode* box = new NGBlockNode(style_.get());
box->SetFirstChild(first_child);
- MinAndMaxContentSizes sizes = box->ComputeMinAndMaxContentSizes();
+ MinMaxContentSize sizes = box->ComputeMinMaxContentSize();
EXPECT_EQ(LayoutUnit(kWidth), sizes.min_content);
EXPECT_EQ(LayoutUnit(kWidth), sizes.max_content);
}

Powered by Google App Engine
This is Rietveld 408576698