Index: ios/chrome/browser/ui/contextual_search/js_contextual_search_manager.mm |
diff --git a/ios/chrome/browser/ui/contextual_search/js_contextual_search_manager.mm b/ios/chrome/browser/ui/contextual_search/js_contextual_search_manager.mm |
index 872571dc008c66b35160941f527184ccd7e5f4be..ec37c55f6cb832df15bb9cfd1093622aabe10d1e 100644 |
--- a/ios/chrome/browser/ui/contextual_search/js_contextual_search_manager.mm |
+++ b/ios/chrome/browser/ui/contextual_search/js_contextual_search_manager.mm |
@@ -7,10 +7,13 @@ |
#include "base/ios/ios_util.h" |
#include "base/mac/foundation_util.h" |
#include "base/mac/scoped_block.h" |
-#include "base/mac/scoped_nsobject.h" |
#include "base/strings/string_util.h" |
#include "base/strings/sys_string_conversions.h" |
+#if !defined(__has_feature) || !__has_feature(objc_arc) |
+#error "This file requires ARC support." |
+#endif |
+ |
static NSString* const kEnableSelectionChangeListener = |
@"__gCrWeb.contextualSearch.enableSelectionChangeListener(%@);"; |