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

Unified Diff: ios/chrome/browser/payments/payment_method_selection_view_controller.mm

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase Created 3 years, 10 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
Index: ios/chrome/browser/payments/payment_method_selection_view_controller.mm
diff --git a/ios/chrome/browser/payments/payment_method_selection_view_controller.mm b/ios/chrome/browser/payments/payment_method_selection_view_controller.mm
index 845968f01a7166c71dc0472b7c2815d9da3457db..bc817cdec0b17c67024cb0f237867049d41cbd81 100644
--- a/ios/chrome/browser/payments/payment_method_selection_view_controller.mm
+++ b/ios/chrome/browser/payments/payment_method_selection_view_controller.mm
@@ -96,7 +96,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
[model addSectionWithIdentifier:SectionIdentifierPayment];
- for (const auto& paymentMethod : _paymentRequest->credit_cards()) {
+ for (const auto* paymentMethod : _paymentRequest->credit_cards()) {
PaymentMethodItem* paymentMethodItem =
[[PaymentMethodItem alloc] initWithType:ItemTypePaymentMethod];
paymentMethodItem.accessibilityTraits |= UIAccessibilityTraitButton;
« no previous file with comments | « ios/chrome/app/spotlight/bookmarks_spotlight_manager.mm ('k') | ios/chrome/browser/payments/payment_request.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698