Index: ios/chrome/browser/payments/payment_request_selector_view_controller_data_source.h |
diff --git a/ios/chrome/browser/payments/payment_request_selector_view_controller_data_source.h b/ios/chrome/browser/payments/payment_request_selector_view_controller_data_source.h |
index 028d9e892c8dc263ba43d7799812ab4bfcf648ee..18843bf91e69aaae6fab34a35948ca9ef05c9d3f 100644 |
--- a/ios/chrome/browser/payments/payment_request_selector_view_controller_data_source.h |
+++ b/ios/chrome/browser/payments/payment_request_selector_view_controller_data_source.h |
@@ -38,7 +38,8 @@ typedef NS_ENUM(NSUInteger, PaymentRequestSelectorState) { |
// The selectable items to display in the collection. |
- (NSArray<CollectionViewItem<PaymentsHasAccessoryType>*>*)selectableItems; |
-// The selectable item at |index| in the collection. |
+// The selectable item at |index| in the collection. |index| should be smaller |
+// than self.selectableItems.count. |
- (CollectionViewItem<PaymentsHasAccessoryType>*)selectableItemAtIndex: |
(NSUInteger)index; |