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

Unified Diff: ios/chrome/browser/ui/reader_mode/reader_mode_infobar_delegate.mm

Issue 2681773002: [ObjC ARC] Converts ios/chrome/browser/ui/reader_mode:reader_mode to ARC. (Closed)
Patch Set: Created 3 years, 10 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/reader_mode/reader_mode_infobar_delegate.mm
diff --git a/ios/chrome/browser/ui/reader_mode/reader_mode_infobar_delegate.mm b/ios/chrome/browser/ui/reader_mode/reader_mode_infobar_delegate.mm
index fd65a49bb9b6b76c91092714b723242f1f6f3772..5bacdb619c2a0fe410f58716ed71036292424661 100644
--- a/ios/chrome/browser/ui/reader_mode/reader_mode_infobar_delegate.mm
+++ b/ios/chrome/browser/ui/reader_mode/reader_mode_infobar_delegate.mm
@@ -6,6 +6,10 @@
#include "base/strings/utf_string_conversions.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
ReaderModeInfoBarDelegate::ReaderModeInfoBarDelegate(
const base::Closure& callback)
: callback_(callback) {}
« no previous file with comments | « ios/chrome/browser/ui/reader_mode/reader_mode_controller.mm ('k') | ios/chrome/browser/ui/reader_mode/reader_mode_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698