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 51e42062d14e1fcc4ed2554b078dadb61e313a43..ea3d3fcbbdd1db0693822c79b2cd6b9c5889d5ba 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 |
@@ -33,7 +33,7 @@ class CORE_EXPORT NGLayoutOpportunityIterator final { |
// which starts from 'origin'. This rectangle may |
// represent a text fragment for example. |
NGLayoutOpportunityIterator( |
- NGConstraintSpace* space, |
+ const NGConstraintSpace* space, |
const WTF::Optional<NGLogicalOffset>& opt_origin_point = WTF::nullopt, |
const WTF::Optional<NGLogicalOffset>& opt_leader_point = WTF::nullopt); |
@@ -52,7 +52,7 @@ class CORE_EXPORT NGLayoutOpportunityIterator final { |
return opportunity_tree_root_.get(); |
} |
- NGConstraintSpace* constraint_space_; |
+ const NGConstraintSpace* constraint_space_; |
NGLayoutOpportunities opportunities_; |
NGLayoutOpportunities::const_iterator opportunity_iter_; |