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

Unified Diff: ios/chrome/browser/find_in_page/find_in_page_model.mm

Issue 2524383002: [ObjC ARC] Converts ios/chrome/browser/find_in_page:find_in_page to ARC.Automatically generated A… (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
Index: ios/chrome/browser/find_in_page/find_in_page_model.mm
diff --git a/ios/chrome/browser/find_in_page/find_in_page_model.mm b/ios/chrome/browser/find_in_page/find_in_page_model.mm
index 8cc3ec44b081a6739852e742d083584144a602e3..93840136ded96570ce9d624c78d5a42b02a62b8c 100644
--- a/ios/chrome/browser/find_in_page/find_in_page_model.mm
+++ b/ios/chrome/browser/find_in_page/find_in_page_model.mm
@@ -6,6 +6,10 @@
#include "base/mac/scoped_nsobject.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
@implementation FindInPageModel {
base::scoped_nsobject<NSString> _text;
}

Powered by Google App Engine
This is Rietveld 408576698