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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.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_out_of_flow_layout_part.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
index ec503ba1aac09d3ee709fe80fd0bf0eacffdcb5e..241640e4b468d238cae4d2669e9f34385b38923f 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc
@@ -7,9 +7,9 @@
#include "core/layout/ng/ng_absolute_utils.h"
#include "core/layout/ng/ng_block_node.h"
#include "core/layout/ng/ng_constraint_space_builder.h"
-#include "core/layout/ng/ng_fragment_base.h"
#include "core/layout/ng/ng_length_utils.h"
#include "core/style/ComputedStyle.h"
+#include "core/layout/ng/ng_fragment.h"
namespace blink {
@@ -60,7 +60,7 @@ bool NGOutOfFlowLayoutPart::StartLayout(
return false;
}
-NGLayoutStatus NGOutOfFlowLayoutPart::Layout(NGFragmentBase** fragment,
+NGLayoutStatus NGOutOfFlowLayoutPart::Layout(NGFragment** fragment,
NGLogicalOffset* offset) {
DCHECK(node_);
switch (state_) {
@@ -152,7 +152,7 @@ bool NGOutOfFlowLayoutPart::ComputeNodeFragment() {
builder.SetIsNewFormattingContext(true);
node_space_ = builder.ToConstraintSpace();
}
- NGFragmentBase* fragment;
+ NGFragment* fragment;
if (node_->Layout(node_space_, &fragment)) {
node_fragment_ = fragment;
return true;

Powered by Google App Engine
This is Rietveld 408576698