Index: ios/chrome/test/earl_grey/accessibility_util.mm |
diff --git a/ios/chrome/test/earl_grey/accessibility_util.mm b/ios/chrome/test/earl_grey/accessibility_util.mm |
index 438a703c09f249d6925b1bd0f5a5b8cc89af9c1f..11fb538547dbec51ced739210ab30a9e1a4c5aca 100644 |
--- a/ios/chrome/test/earl_grey/accessibility_util.mm |
+++ b/ios/chrome/test/earl_grey/accessibility_util.mm |
@@ -7,6 +7,10 @@ |
#include "ios/chrome/test/earl_grey/accessibility_util.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace { |
// Returns whether a UIView is hidden from the screen, based on the alpha |