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

Unified Diff: ios/chrome/test/earl_grey/chrome_assertions.mm

Issue 2684023003: [ObjC ARC] Converts ios/chrome/test/earl_grey:test_support to ARC. (Closed)
Patch Set: Add __unsafe_unretained Created 3 years, 10 months 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
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) {

Powered by Google App Engine
This is Rietveld 408576698