Index: ios/web/alloc_with_zone_interceptor.mm |
diff --git a/ios/web/alloc_with_zone_interceptor.mm b/ios/web/alloc_with_zone_interceptor.mm |
index ea86016561ec1c76d6104a93b98ec7afaafbded7..a3ee56708f469deb3ae0dd238aa8b018df6b1bc2 100644 |
--- a/ios/web/alloc_with_zone_interceptor.mm |
+++ b/ios/web/alloc_with_zone_interceptor.mm |
@@ -8,6 +8,10 @@ |
#include "base/logging.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace web { |
void AddAllocWithZoneMethod(Class target, id (^impl_block)(Class, NSZone*)) { |