Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm

Issue 2932703004: [Payment Request] Contact Info editor (Closed)
Patch Set: Addressed comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm
diff --git a/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm b/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm
index 523bdb16cbe642f7ce72b56c4ba3844043cd69f0..14227ebbe04930071659ccace8214bada0d6b4d3 100644
--- a/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm
+++ b/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm
@@ -548,7 +548,10 @@ typedef NS_ENUM(NSInteger, ItemType) {
if (field.fieldType == EditorFieldTypeSelector)
[[_currentEditingCell textField] resignFirstResponder];
- [_delegate paymentRequestEditViewController:self didSelectField:field];
+ if ([self.delegate respondsToSelector:@selector
+ (paymentRequestEditViewController:didSelectField:)]) {
+ [_delegate paymentRequestEditViewController:self didSelectField:field];
+ }
}
#pragma mark MDCCollectionViewStylingDelegate
« no previous file with comments | « ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698