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

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

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/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 5cb230f515d75d39eecf509b25416bc59289df39..0540b2d38529a82c1ef2ddf3e4579c84ac502720 100644
--- a/third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp
+++ b/third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp
@@ -49,11 +49,11 @@ TEST_F(NGInlineLayoutTest, BlockWithSingleTextNode) {
NGInlineNode* inlineBox =
new NGInlineNode(blockFlow->firstChild(), blockFlow->mutableStyle());
- RefPtr<NGPhysicalFragment> fragment =
+ RefPtr<NGLayoutResult> result =
NGBlockLayoutAlgorithm(blockFlow, blockFlow->style(), inlineBox,
constraintSpace)
.Layout();
- EXPECT_TRUE(fragment);
+ EXPECT_TRUE(result);
String expectedText("Hello World!");
EXPECT_EQ(expectedText, inlineBox->Text(0, 12));
@@ -76,11 +76,11 @@ TEST_F(NGInlineLayoutTest, BlockWithTextAndAtomicInline) {
NGInlineNode* inlineBox =
new NGInlineNode(blockFlow->firstChild(), blockFlow->mutableStyle());
- RefPtr<NGPhysicalFragment> fragment =
+ RefPtr<NGLayoutResult> result =
NGBlockLayoutAlgorithm(blockFlow, blockFlow->style(), inlineBox,
constraintSpace)
.Layout();
- EXPECT_TRUE(fragment);
+ EXPECT_TRUE(result);
String expectedText("Hello ");
expectedText.append(objectReplacementCharacter);

Powered by Google App Engine
This is Rietveld 408576698