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

Unified Diff: ios/chrome/browser/ui/contextual_search/js_contextual_search_manager.mm

Issue 2824493002: Reland of [ObjC ARC] Converts ios/chrome/browser/ui/contextual_search:contextual_search to ARC. (Closed)
Patch Set: fix test Created 3 years, 8 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/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(%@);";

Powered by Google App Engine
This is Rietveld 408576698