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

Unified Diff: ios/web/shell/app_delegate.mm

Issue 2073753003: Convert ios_web_shell to ARC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@buildconfig-gn
Patch Set: rebase Created 4 years, 6 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/shell/app_delegate.h ('k') | ios/web/shell/shell_browser_state.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/app_delegate.mm
diff --git a/ios/web/shell/app_delegate.mm b/ios/web/shell/app_delegate.mm
index 87e65a5b3a704b3acb6112ae41db838cce67cb9e..f5a4a3fd636833e4bd5b2dc1a050625862be7ba2 100644
--- a/ios/web/shell/app_delegate.mm
+++ b/ios/web/shell/app_delegate.mm
@@ -15,6 +15,10 @@
#include "ios/web/shell/shell_web_client.h"
#import "ios/web/shell/view_controller.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
@interface AppDelegate () {
std::unique_ptr<web::ShellMainDelegate> _delegate;
std::unique_ptr<web::WebMain> _webMain;
« no previous file with comments | « ios/web/shell/app_delegate.h ('k') | ios/web/shell/shell_browser_state.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698