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

Unified Diff: ios/chrome/browser/ui/util/top_view_controller.mm

Issue 2819283004: [ObjC ARC] Converts ios/chrome/browser/ui/util:util to ARC. (Closed)
Patch Set: Fix copy for block Created 3 years, 8 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/chrome/browser/ui/util/top_view_controller.mm
diff --git a/ios/chrome/browser/ui/util/top_view_controller.mm b/ios/chrome/browser/ui/util/top_view_controller.mm
index 332c405ea5ff5d5d6521ddc69196d59b479a0109..7bfe126284e6c5f5116d83cce16adf2f4027a26c 100644
--- a/ios/chrome/browser/ui/util/top_view_controller.mm
+++ b/ios/chrome/browser/ui/util/top_view_controller.mm
@@ -4,6 +4,10 @@
#import "ios/chrome/browser/ui/util/top_view_controller.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace top_view_controller {
UIViewController* TopPresentedViewController() {

Powered by Google App Engine
This is Rietveld 408576698