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

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

Issue 2702403003: [layoutng] Split NGLayoutResult out of NGPhysicalFragment (Closed)
Patch Set: 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_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc
index c7fec0b567af2260e2c87ccbd562bfd3f398c3e6..4f9d7d92b5e358b87eee0bb78b0e904a9308990b 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc
@@ -67,8 +67,8 @@ TEST_F(NGOutOfFlowLayoutPartTest, FixedInsideAbs) {
NGConstraintSpace* space =
NGConstraintSpace::CreateFromLayoutObject(*block_flow);
NGBlockNode node(block_flow);
- RefPtr<NGPhysicalFragment> fragment = node.Layout(space);
- EXPECT_EQ(fragment->OutOfFlowDescendants().size(), (size_t)2);
+ RefPtr<NGLayoutResult> result = node.Layout(space);
+ EXPECT_EQ(result->OutOfFlowDescendants().size(), (size_t)2);
// Test the final result.
Element* fixed_1 = document().getElementById("fixed1");

Powered by Google App Engine
This is Rietveld 408576698