Index: ios/chrome/test/earl_grey/chrome_actions.mm |
diff --git a/ios/chrome/test/earl_grey/chrome_actions.mm b/ios/chrome/test/earl_grey/chrome_actions.mm |
index d893a86555c794cddc40011f54ada84e8a33e904..3f2690f438dc7cbed493bcbd2d9076f495f76121 100644 |
--- a/ios/chrome/test/earl_grey/chrome_actions.mm |
+++ b/ios/chrome/test/earl_grey/chrome_actions.mm |
@@ -9,6 +9,10 @@ |
#import "ios/chrome/test/app/chrome_test_util.h" |
#import "ios/web/public/test/earl_grey/web_view_actions.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
namespace chrome_test_util { |
id<GREYAction> longPressElementForContextMenu(const std::string& element_id, |