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

Unified Diff: components/history/ios/browser/web_state_top_sites_observer.mm

Issue 2670693003: [ObjC ARC] Converts components/history/ios/browser:browser to ARC. (Closed)
Patch Set: 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
« no previous file with comments | « components/history/ios/browser/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/ios/browser/web_state_top_sites_observer.mm
diff --git a/components/history/ios/browser/web_state_top_sites_observer.mm b/components/history/ios/browser/web_state_top_sites_observer.mm
index ac95a554411fbc348a43c32162bfb7f1c9a1dc27..cdddbd9a240dca27a530a50fef4a762e923dd77f 100644
--- a/components/history/ios/browser/web_state_top_sites_observer.mm
+++ b/components/history/ios/browser/web_state_top_sites_observer.mm
@@ -9,6 +9,10 @@
#include "ios/web/public/load_committed_details.h"
#include "ios/web/public/navigation_item.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
DEFINE_WEB_STATE_USER_DATA_KEY(history::WebStateTopSitesObserver);
namespace history {
« no previous file with comments | « components/history/ios/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698