Index: third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h |
index 58040acb597a553a45bf8647c26a26e971e7c871..e3f3c33d3533919351579f90fa7edabf74dad072 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h |
@@ -36,6 +36,16 @@ class CORE_EXPORT NGLayoutOpportunityIterator final |
} |
private: |
+ // Mutable Getters. |
+ NGLayoutOpportunityTreeNode* MutableOpportunityTreeRoot() { |
+ return opportunity_tree_root_.get(); |
+ } |
+ |
+ // Read-only Getters. |
+ const NGLayoutOpportunityTreeNode* OpportunityTreeRoot() const { |
+ return opportunity_tree_root_.get(); |
+ } |
+ |
Member<NGConstraintSpace> constraint_space_; |
NGLayoutOpportunities opportunities_; |