Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: ios/testing/earl_grey/matchers.mm

Issue 2508973007: [ObjC ARC] Converts ios/testing/earl_grey:earl_grey_support to ARC.Automatically generated ARCMig… (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/testing/earl_grey/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/testing/earl_grey/matchers.mm
diff --git a/ios/testing/earl_grey/matchers.mm b/ios/testing/earl_grey/matchers.mm
index 6138ab3e09c1f9297e869da659f65f56aaf8f3c6..f4fde5b0c5490b8b35c31387bb33a577772a7361 100644
--- a/ios/testing/earl_grey/matchers.mm
+++ b/ios/testing/earl_grey/matchers.mm
@@ -4,6 +4,10 @@
#import "ios/testing/earl_grey/matchers.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace testing {
id<GREYMatcher> contextMenuItemWithText(NSString* text) {
« no previous file with comments | « ios/testing/earl_grey/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698