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

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

Issue 2912273002: [LayoutNG] Logicalize NGPaintBorderEdge (Closed)
Patch Set: Rebase, Edge -> Edges Created 3 years, 7 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_box_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
index ef247607828dfc3918caf11a4037600ac72ab417..16e810889eedcb28a425ec3895fe88e119b0469a 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
@@ -16,6 +16,7 @@ NGPhysicalBoxFragment::NGPhysicalBoxFragment(
Vector<NGPositionedFloat>& positioned_floats,
const WTF::Optional<NGLogicalOffset>& bfc_offset,
const NGMarginStrut& end_margin_strut,
+ NGBorderEdges::Physical border_edges,
RefPtr<NGBreakToken> break_token)
: NGPhysicalFragment(layout_object,
size,
@@ -26,6 +27,7 @@ NGPhysicalBoxFragment::NGPhysicalBoxFragment(
bfc_offset_(bfc_offset),
end_margin_strut_(end_margin_strut) {
children_.swap(children);
+ border_edge_ = border_edges;
ikilpatrick 2017/05/31 13:52:58 this can't be part of the initializer list?
kojii 2017/05/31 15:09:36 No, because |border_edges_| is in parent's class.
ikilpatrick 2017/05/31 16:44:37 Oh this is fine then, sorry I didn't realize it wa
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698