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

Unified Diff: ios/web/browser_state.mm

Issue 2202623002: Converts parts of ios/web to ARC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed extra release Created 4 years, 4 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/browser_state.mm
diff --git a/ios/web/browser_state.mm b/ios/web/browser_state.mm
index 5339a1e7016a3d9e5dfea7a19c086747e28d0a38..84dd70bea36d533be3706f3e824bb3df0aa41752 100644
--- a/ios/web/browser_state.mm
+++ b/ios/web/browser_state.mm
@@ -11,6 +11,10 @@
#include "ios/web/public/web_thread.h"
#include "ios/web/webui/url_data_manager_ios_backend.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace web {
namespace {
// Private key used for safe conversion of base::SupportsUserData to

Powered by Google App Engine
This is Rietveld 408576698