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

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: 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 245f35f109c1bf6a7920560cbf80bd4d81ba0456..57c7615f7d2b3b24abe196018ff24848a68537d8 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 (auto* paymentMethod : _paymentRequest->credit_cards()) {
PaymentMethodItem* paymentMethodItem =
[[PaymentMethodItem alloc] initWithType:ItemTypePaymentMethod];
paymentMethodItem.accessibilityTraits |= UIAccessibilityTraitButton;

Powered by Google App Engine
This is Rietveld 408576698