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

Unified Diff: ios/web/public/user_agent.mm

Issue 2497263002: [ARC] Converts ios/web:user_agent to ARC. (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
« no previous file with comments | « ios/web/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/user_agent.mm
diff --git a/ios/web/public/user_agent.mm b/ios/web/public/user_agent.mm
index 976078fdb939fda3f34e4717414442d95b36c256..f1dcfbe98eba87c187dd553f481a9a913748c079 100644
--- a/ios/web/public/user_agent.mm
+++ b/ios/web/public/user_agent.mm
@@ -18,6 +18,10 @@
#include "base/strings/sys_string_conversions.h"
#include "base/sys_info.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
struct UAVersions {
« no previous file with comments | « ios/web/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698