Index: third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.h |
index 0c3a3599ca918408759a21e45e642b34d8dd8c52..a21977f464259b98b8736bdc2e4fc323346c2caa 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_tree_node.h |
@@ -10,13 +10,13 @@ |
namespace blink { |
-struct NGExclusion; |
// 3 node R-Tree that represents available space(left, bottom, right) or |
// layout opportunity after the parent spatial rectangle is split by the |
// exclusion rectangle. |
struct CORE_EXPORT NGLayoutOpportunityTreeNode |
: public GarbageCollected<NGLayoutOpportunityTreeNode> { |
+ public: |
// Default constructor. |
// Creates a Layout Opportunity tree node that is limited by it's own edge |
// from above. |
@@ -34,14 +34,14 @@ |
Member<NGLayoutOpportunityTreeNode> bottom; |
Member<NGLayoutOpportunityTreeNode> right; |
- // Exclusion that split apart this layout opportunity. |
- Member<const NGExclusion> exclusion; |
- |
// The top layout opportunity associated with this node. |
NGLogicalRect opportunity; |
// Edge that limits this layout opportunity from above. |
NGEdge exclusion_edge; |
+ |
+ // Exclusion that splits apart this layout opportunity. |
+ const NGLogicalRect* exclusion; // Not owned. |
// Whether this node is a leaf node. |
// The node is a leaf if it doesn't have an exclusion that splits it apart. |