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

Unified Diff: third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp

Issue 2702403003: [layoutng] Split NGLayoutResult out of NGPhysicalFragment (Closed)
Patch Set: rebased 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp b/third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp
index 8528b8b46aec0000a0eec4a953f3c81f5c4ca2f4..8e6a9c346a822b3d0353ae22ef0368ae51c2be92 100644
--- a/third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp
+++ b/third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp
@@ -48,9 +48,9 @@ TEST_F(NGInlineLayoutTest, BlockWithSingleTextNode) {
NGConstraintSpace* constraintSpace = constraintSpaceForElement(blockFlow);
NGBlockNode* node = new NGBlockNode(blockFlow);
- RefPtr<NGPhysicalFragment> fragment =
+ RefPtr<NGLayoutResult> result =
NGBlockLayoutAlgorithm(node, constraintSpace).Layout();
- EXPECT_TRUE(fragment);
+ EXPECT_TRUE(result);
String expectedText("Hello World!");
EXPECT_EQ(expectedText, toNGInlineNode(node->FirstChild())->Text(0, 12));
@@ -72,9 +72,9 @@ TEST_F(NGInlineLayoutTest, BlockWithTextAndAtomicInline) {
NGConstraintSpace* constraintSpace = constraintSpaceForElement(blockFlow);
NGBlockNode* node = new NGBlockNode(blockFlow);
- RefPtr<NGPhysicalFragment> fragment =
+ RefPtr<NGLayoutResult> result =
NGBlockLayoutAlgorithm(node, constraintSpace).Layout();
- EXPECT_TRUE(fragment);
+ EXPECT_TRUE(result);
String expectedText("Hello ");
expectedText.append(objectReplacementCharacter);
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698