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

Unified Diff: ios/web/web_state/js/credential_util.mm

Issue 2396553002: [ARC] Converts part of ios/web/ui to ARC.
Patch Set: co 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
Index: ios/web/web_state/js/credential_util.mm
diff --git a/ios/web/web_state/js/credential_util.mm b/ios/web/web_state/js/credential_util.mm
index 6e4eb7b7c52cab41f53149f0506edc0fdab72b70..b4a2d74e43bec09d7df6ec3139d300b01d85e907 100644
--- a/ios/web/web_state/js/credential_util.mm
+++ b/ios/web/web_state/js/credential_util.mm
@@ -12,6 +12,10 @@
#include "url/gurl.h"
#include "url/origin.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
// "type" value for a DictionaryValue representation of PasswordCredential.
« no previous file with comments | « ios/web/web_state/global_web_state_event_tracker.mm ('k') | ios/web/web_state/js/crw_js_injection_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698