Index: ios/chrome/browser/open_url_util.mm |
diff --git a/ios/chrome/browser/open_url_util.mm b/ios/chrome/browser/open_url_util.mm |
index 288336a01bb911a7e4486686998ff548e989f04b..3fa68ba28ae7819ebe455ed037b6e5dc3ff76369 100644 |
--- a/ios/chrome/browser/open_url_util.mm |
+++ b/ios/chrome/browser/open_url_util.mm |
@@ -8,6 +8,10 @@ |
#include "base/ios/ios_util.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
void OpenUrlWithCompletionHandler(NSURL* url, |
void (^completion_handler)(BOOL success)) { |
if (base::ios::IsRunningOnIOS10OrLater()) { |