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

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

Issue 2382203002: [ARC] Converts part of ios/web/public to ARC. (Closed)
Patch Set: Created 4 years, 3 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/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/origin_util.mm
diff --git a/ios/web/public/origin_util.mm b/ios/web/public/origin_util.mm
index de1d59453d85136b1f57a3a989edfbd1c99fd39e..96ed012d62ed5ab46f44c24918564873dc1f6ac1 100644
--- a/ios/web/public/origin_util.mm
+++ b/ios/web/public/origin_util.mm
@@ -12,6 +12,10 @@
#include "url/gurl.h"
#include "url/scheme_host_port.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace web {
bool IsOriginSecure(const GURL& url) {
« 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