| Index: third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.cc
|
| index c7a1c6ace44aeb06728d87f2aade8c229dfe9bac..8762a06fe65defffd9209f80bcf9dcaccd50444c 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.cc
|
| @@ -11,7 +11,7 @@
|
|
|
| NGLayoutOpportunityTreeNode::NGLayoutOpportunityTreeNode(
|
| const NGLogicalRect opportunity)
|
| - : opportunity(opportunity), exclusion(nullptr) {
|
| + : opportunity(opportunity) {
|
| exclusion_edge.start = opportunity.offset.inline_offset;
|
| exclusion_edge.end = exclusion_edge.start + opportunity.size.inline_size;
|
| }
|
| @@ -19,14 +19,13 @@
|
| NGLayoutOpportunityTreeNode::NGLayoutOpportunityTreeNode(
|
| const NGLogicalRect opportunity,
|
| NGEdge exclusion_edge)
|
| - : opportunity(opportunity),
|
| - exclusion_edge(exclusion_edge),
|
| - exclusion(nullptr) {}
|
| + : opportunity(opportunity), exclusion_edge(exclusion_edge) {}
|
|
|
| DEFINE_TRACE(NGLayoutOpportunityTreeNode) {
|
| visitor->trace(left);
|
| visitor->trace(bottom);
|
| visitor->trace(right);
|
| + visitor->trace(exclusion);
|
| }
|
|
|
| } // namespace blink
|
|
|