Index: ios/chrome/browser/payments/js_payment_request_manager.mm |
diff --git a/ios/chrome/browser/payments/js_payment_request_manager.mm b/ios/chrome/browser/payments/js_payment_request_manager.mm |
index cd8cb5c1c9e5a5d83f472993e727a8f8a8feca54..48337a4af449e6d4e108aad974b0138b885b7892 100644 |
--- a/ios/chrome/browser/payments/js_payment_request_manager.mm |
+++ b/ios/chrome/browser/payments/js_payment_request_manager.mm |
@@ -10,6 +10,10 @@ |
#include "base/values.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 { |
// Sanitizes |JSON| and wraps it in quotes so it can be injected safely in |