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

Unified Diff: ios/chrome/browser/native_app_launcher/native_app_navigation_util.mm

Issue 2664993003: Converts ios/chrome/browser/native_app_launcher:native_app_launcher_internal to ARC. (Closed)
Patch Set: s/__unsafe_unretained/__weak/ and reformat for 80 chars. Created 3 years, 11 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/native_app_launcher/native_app_navigation_util.mm
diff --git a/ios/chrome/browser/native_app_launcher/native_app_navigation_util.mm b/ios/chrome/browser/native_app_launcher/native_app_navigation_util.mm
index 7a6c34e73252c18af0890885407f52eaa80708d0..08912ea500c591e67d1754d7a05529e7985a59bc 100644
--- a/ios/chrome/browser/native_app_launcher/native_app_navigation_util.mm
+++ b/ios/chrome/browser/native_app_launcher/native_app_navigation_util.mm
@@ -9,6 +9,14 @@
#include "ios/web/public/navigation_manager.h"
#import "ios/web/public/web_state/web_state.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
+#if !defined(__has_feature) || !__has_feature(objc_arc)
pkl (ping after 24h if needed) 2017/02/01 00:46:11 twice?
noyau (Ping after 24h) 2017/02/01 11:24:09 Done. And we'll fix the script.
+#error "This file requires ARC support."
+#endif
+
namespace native_app_launcher {
bool IsLinkNavigation(web::WebState* web_state) {

Powered by Google App Engine
This is Rietveld 408576698