| Index: ios/chrome/browser/ui/autofill/card_unmask_prompt_view_bridge.mm
|
| diff --git a/ios/chrome/browser/ui/autofill/card_unmask_prompt_view_bridge.mm b/ios/chrome/browser/ui/autofill/card_unmask_prompt_view_bridge.mm
|
| index ef0af3325d802f58222a9d821dbada1ace96d995..40990f88d388cc4d6e9d9cad18ce1a66be1c9fc5 100644
|
| --- a/ios/chrome/browser/ui/autofill/card_unmask_prompt_view_bridge.mm
|
| +++ b/ios/chrome/browser/ui/autofill/card_unmask_prompt_view_bridge.mm
|
| @@ -202,8 +202,7 @@ void CardUnmaskPromptViewBridge::DeleteSelf() {
|
| - (void)viewWillLayoutSubviews {
|
| [super viewWillLayoutSubviews];
|
| NSIndexPath* CVCIndexPath =
|
| - [self.collectionViewModel indexPathForItem:_CVCItem
|
| - inSectionWithIdentifier:SectionIdentifierMain];
|
| + [self.collectionViewModel indexPathForItem:_CVCItem];
|
| CVCCell* CVC = base::mac::ObjCCastStrict<CVCCell>(
|
| [self.collectionView cellForItemAtIndexPath:CVCIndexPath]);
|
| [self focusInputIfNeeded:CVC];
|
| @@ -309,8 +308,7 @@ void CardUnmaskPromptViewBridge::DeleteSelf() {
|
| } else {
|
| _statusItem.text = text;
|
| _statusItem.state = state;
|
| - [self reconfigureCellsForItems:@[ _statusItem ]
|
| - inSectionWithIdentifier:SectionIdentifierMain];
|
| + [self reconfigureCellsForItems:@[ _statusItem ]];
|
| [self.collectionViewLayout invalidateLayout];
|
| }
|
| }
|
| @@ -405,8 +403,7 @@ void CardUnmaskPromptViewBridge::DeleteSelf() {
|
| IDS_AUTOFILL_CARD_UNMASK_INVALID_EXPIRATION_DATE);
|
| }
|
|
|
| - [self reconfigureCellsForItems:@[ item ]
|
| - inSectionWithIdentifier:SectionIdentifierMain];
|
| + [self reconfigureCellsForItems:@[ item ]];
|
| [self.collectionViewLayout invalidateLayout];
|
| }
|
|
|
| @@ -489,8 +486,7 @@ void CardUnmaskPromptViewBridge::DeleteSelf() {
|
| _CVCItem.showDateInputError = NO;
|
| _CVCItem.showCVCInputError = NO;
|
|
|
| - [self reconfigureCellsForItems:@[ _CVCItem ]
|
| - inSectionWithIdentifier:SectionIdentifierMain];
|
| + [self reconfigureCellsForItems:@[ _CVCItem ]];
|
| [self.collectionViewLayout invalidateLayout];
|
|
|
| [self inputsDidChange:_CVCItem];
|
|
|