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

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

Issue 2706193004: [ObjC ARC] Converts ios/chrome/browser/payments:unit_tests to ARC. (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_request_test_util.mm
diff --git a/ios/chrome/browser/payments/payment_request_test_util.mm b/ios/chrome/browser/payments/payment_request_test_util.mm
index e51ad313e7af7b546100ba877e71f880a55a14c6..d55a72857f43abe37d94bc6f3a9acde390959813 100644
--- a/ios/chrome/browser/payments/payment_request_test_util.mm
+++ b/ios/chrome/browser/payments/payment_request_test_util.mm
@@ -14,6 +14,10 @@
#include "ios/chrome/browser/payments/payment_request.h"
#include "ios/web/public/payments/payment_request.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace payment_request_test_util {
web::PaymentRequest CreateTestWebPaymentRequest() {

Powered by Google App Engine
This is Rietveld 408576698