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

Unified Diff: ios/web/app/web_main.mm

Issue 2449903002: [ObjC ARC] Converts ios/web/app to ARC (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « ios/web/app/BUILD.gn ('k') | ios/web/app/web_main_loop.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/app/web_main.mm
diff --git a/ios/web/app/web_main.mm b/ios/web/app/web_main.mm
index 0625343a94c07bc812cf6f7a3fcd08058bb39560..e0d7f990cbf8a071c6eba1fc228e2db7500cd4ea 100644
--- a/ios/web/app/web_main.mm
+++ b/ios/web/app/web_main.mm
@@ -5,6 +5,10 @@
#include "ios/web/public/app/web_main.h"
#include "ios/web/public/app/web_main_runner.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace web {
WebMain::WebMain(const WebMainParams& params) {
« no previous file with comments | « ios/web/app/BUILD.gn ('k') | ios/web/app/web_main_loop.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698