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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.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_physical_box_fragment.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
similarity index 51%
copy from third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc
copy to third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
index 2a7cf51aa15163e4c05b41159a9ce1cde017c1d1..f5e2c4169d8f24b50a07fe9b362bcf1baa3f8351 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
@@ -2,29 +2,29 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "core/layout/ng/ng_physical_fragment.h"
+#include "core/layout/ng/ng_physical_box_fragment.h"
namespace blink {
-NGPhysicalFragment::NGPhysicalFragment(
+NGPhysicalBoxFragment::NGPhysicalBoxFragment(
NGPhysicalSize size,
NGPhysicalSize overflow,
- HeapVector<Member<const NGPhysicalFragmentBase>>& children,
+ HeapVector<Member<const NGPhysicalFragment>>& children,
HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants,
Vector<NGStaticPosition>& out_of_flow_positions,
NGMarginStrut margin_strut)
- : NGPhysicalFragmentBase(size,
- overflow,
- kFragmentBox,
- out_of_flow_descendants,
- out_of_flow_positions),
+ : NGPhysicalFragment(size,
+ overflow,
+ kFragmentBox,
+ out_of_flow_descendants,
+ out_of_flow_positions),
margin_strut_(margin_strut) {
children_.swap(children);
}
-DEFINE_TRACE_AFTER_DISPATCH(NGPhysicalFragment) {
+DEFINE_TRACE_AFTER_DISPATCH(NGPhysicalBoxFragment) {
visitor->trace(children_);
- NGPhysicalFragmentBase::traceAfterDispatch(visitor);
+ NGPhysicalFragment::traceAfterDispatch(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698