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

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

Issue 2612103004: [ng_layout] Rename NGFragmentBase,NGFragment,NGPhysicalFragment (Closed)
Patch Set: CR: rename ifdef guards Created 3 years, 11 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_inline_node_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
index 39e67e2f2dbbef087acca38573ca5aabb542b289..5bebe45a54c46f77a46834b098b6bc5ad9312487 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
@@ -7,7 +7,7 @@
#include "core/layout/ng/ng_constraint_space.h"
#include "core/layout/ng/ng_constraint_space_builder.h"
#include "core/layout/ng/ng_fragment_builder.h"
-#include "core/layout/ng/ng_physical_fragment.h"
+#include "core/layout/ng/ng_physical_box_fragment.h"
#include "core/layout/ng/ng_physical_text_fragment.h"
#include "core/layout/ng/ng_text_fragment.h"
#include "core/layout/ng/ng_text_layout_algorithm.h"
@@ -68,10 +68,10 @@ class NGInlineNodeTest : public ::testing::Test {
new NGTextLayoutAlgorithm(node, constraint_space);
algorithm->LayoutInline(&line_builder);
- NGFragmentBuilder fragment_builder(NGPhysicalFragmentBase::kFragmentBox);
+ NGFragmentBuilder fragment_builder(NGPhysicalFragment::kFragmentBox);
line_builder.CreateFragments(&fragment_builder);
- NGPhysicalFragment* fragment = fragment_builder.ToFragment();
- for (const NGPhysicalFragmentBase* child : fragment->Children()) {
+ NGPhysicalBoxFragment* fragment = fragment_builder.ToBoxFragment();
+ for (const NGPhysicalFragment* child : fragment->Children()) {
fragments_out->append(toNGPhysicalTextFragment(child));
}
}

Powered by Google App Engine
This is Rietveld 408576698