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 cabc6106ee511dcca0a2a4c487df2f89f7790b68..7ed95436a5265fd756d5c2d7a57d58cdfdf578ab 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 |
@@ -35,8 +35,9 @@ class CORE_EXPORT NGLayoutOpportunityIterator final { |
const WTF::Optional<NGLogicalOffset>& opt_offset = WTF::nullopt, |
const WTF::Optional<NGLogicalOffset>& opt_leader_point = WTF::nullopt); |
- // Gets the next Layout Opportunity or nullptr if the search is exhausted. |
+ // Gets the next Layout Opportunity or empty one if the search is exhausted. |
// TODO(chrome-layout-team): Refactor with using C++ <iterator> library. |
+ // TODO(glebl): Refactor the iterator to return unique_ptr here. |
const NGLayoutOpportunity Next(); |
// Offset that specifies the starting point to search layout opportunities. |