Index: ios/chrome/test/earl_grey/chrome_assertions.mm |
diff --git a/ios/chrome/test/earl_grey/chrome_assertions.mm b/ios/chrome/test/earl_grey/chrome_assertions.mm |
index 947d09ac5cab0c6afe0cf1b5b4a1bef07a0f42a5..2cdbc3cbc546989bb4584af637af9c39760db63d 100644 |
--- a/ios/chrome/test/earl_grey/chrome_assertions.mm |
+++ b/ios/chrome/test/earl_grey/chrome_assertions.mm |
@@ -10,6 +10,10 @@ |
#import "ios/chrome/test/app/tab_test_util.h" |
#import "ios/testing/wait_util.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace chrome_test_util { |
void AssertMainTabCount(NSUInteger expected_tab_count) { |