Index: ios/web/public/test/native_controller_test_util.mm |
diff --git a/ios/web/public/test/native_controller_test_util.mm b/ios/web/public/test/native_controller_test_util.mm |
index bee41ab32248b5f7ce94a9115b8c6240110aac86..18ea8ad86db222997db303c6dec5a60b2aba2377 100644 |
--- a/ios/web/public/test/native_controller_test_util.mm |
+++ b/ios/web/public/test/native_controller_test_util.mm |
@@ -7,6 +7,10 @@ |
#import "ios/web/web_state/ui/crw_web_controller.h" |
#import "ios/web/web_state/web_state_impl.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace web { |
namespace test { |